]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Simplify tracking status of RDMA support
authorDave Ertman <david.m.ertman@intel.com>
Fri, 11 Feb 2022 18:26:03 +0000 (10:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Feb 2022 13:35:12 +0000 (13:35 +0000)
commit38b286a09fde5c859160f906cc6d1d6c55a377e3
treead9f9b1b58167815e76616b169acb712f80e1fc8
parent25997d24bbd304a99b2406fdbcd8db55b7d0ff09
ice: Simplify tracking status of RDMA support

The status of support for RDMA is currently being tracked with two
separate status flags. This is unnecessary with the current state of
the driver.

Simplify status tracking down to a single flag.

Rename the helper function to denote the RDMA specific status and
universally use the helper function to test the status bit.

Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
Tested-by: Leszek Kaliszczuk <leszek.kaliszczuk@intel.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ice/ice.h
drivers/net/ethernet/intel/ice/ice_idc.c
drivers/net/ethernet/intel/ice/ice_lib.c
drivers/net/ethernet/intel/ice/ice_lib.h
drivers/net/ethernet/intel/ice/ice_main.c