summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/ef100_nic.h
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2020-07-27 13:59:18 +0200
committerDavid S. Miller <davem@davemloft.net>2020-07-27 21:26:55 +0200
commitd802b0ae652fb8aa917205c3ad29998e0e097b61 (patch)
tree0ce195285a62a64e3f784c2c4b00d3dc072b1255 /drivers/net/ethernet/sfc/ef100_nic.h
parentsfc_ef100: read datapath caps, implement check_caps (diff)
downloadlinux-d802b0ae652fb8aa917205c3ad29998e0e097b61.tar.xz
linux-d802b0ae652fb8aa917205c3ad29998e0e097b61.zip
sfc_ef100: extend ef100_check_caps to cover datapath_caps3
MC_CMD_GET_CAPABILITIES now has a third word of flags; extend the efx_has_cap() machinery to cover it. Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/ef100_nic.h')
-rw-r--r--drivers/net/ethernet/sfc/ef100_nic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/ef100_nic.h b/drivers/net/ethernet/sfc/ef100_nic.h
index 392611cc33b5..7744ec85bec6 100644
--- a/drivers/net/ethernet/sfc/ef100_nic.h
+++ b/drivers/net/ethernet/sfc/ef100_nic.h
@@ -22,6 +22,7 @@ struct ef100_nic_data {
struct efx_buffer mcdi_buf;
u32 datapath_caps;
u32 datapath_caps2;
+ u32 datapath_caps3;
u16 warm_boot_count;
DECLARE_BITMAP(evq_phases, EFX_MAX_CHANNELS);
};