Skip to content

Commit 749c694

Browse files
committed
Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue
Tony Nguyen says: ==================== 100GbE Intel Wired LAN Driver Updates 2021-11-30 This series contains updates to ice driver only. Shiraz corrects assignment of boolean variable and removes an unused enum. ==================== Signed-off-by: David S. Miller <[email protected]>
2 parents b8a841a + 244714d commit 749c694

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

drivers/net/ethernet/intel/ice/ice_devlink.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ ice_devlink_enable_roce_get(struct devlink *devlink, u32 id,
436436
{
437437
struct ice_pf *pf = devlink_priv(devlink);
438438

439-
ctx->val.vbool = pf->rdma_mode & IIDC_RDMA_PROTOCOL_ROCEV2;
439+
ctx->val.vbool = pf->rdma_mode & IIDC_RDMA_PROTOCOL_ROCEV2 ? true : false;
440440

441441
return 0;
442442
}

drivers/net/ethernet/intel/ice/ice_devlink.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
#ifndef _ICE_DEVLINK_H_
55
#define _ICE_DEVLINK_H_
66

7-
enum ice_devlink_param_id {
8-
ICE_DEVLINK_PARAM_ID_BASE = DEVLINK_PARAM_GENERIC_ID_MAX,
9-
};
10-
117
struct ice_pf *ice_allocate_pf(struct device *dev);
128

139
void ice_devlink_register(struct ice_pf *pf);

0 commit comments

Comments
 (0)