nfp: extend capability and control words
authorYinjun Zhang <yinjun.zhang@corigine.com>
Thu, 17 Nov 2022 13:21:00 +0000 (14:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Nov 2022 08:51:36 +0000 (08:51 +0000)
commit484963ce9f1eb89720055de8cad91e8c9fc7f3e6
tree4068a988d74c4d8519eca29133a97f82aa7743bc
parent8719a1c30d3a1b4f347afca8e78be201d66d5c49
nfp: extend capability and control words

Currently the 32-bit capability word is almost exhausted, now
allocate some more words to support new features, and control
word is also extended accordingly. Packet-type offloading is
implemented in NIC application firmware, but it's not used in
kernel driver, so reserve this bit here in case it's redefined
for other use.

Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com>
Reviewed-by: Louis Peens <louis.peens@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net.h
drivers/net/ethernet/netronome/nfp/nfp_net_common.c
drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h