net/mlx4_core: Add retrieval of CONFIG_DEV parameters
Add code to issue CONFIG_DEV "get" firmware command. This command is used in order to obtain certain parameters used for supporting various RX checksumming options and vxlan UDP port. The GET operation is allowed for VFs too. Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Shani Michaeli <shanim@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1ab25f86c4
commit
d475c95b4b
6 changed files with 139 additions and 7 deletions
|
|
@ -188,7 +188,8 @@ enum {
|
|||
MLX4_DEV_CAP_FLAG2_CQE_STRIDE = 1LL << 12,
|
||||
MLX4_DEV_CAP_FLAG2_EQE_STRIDE = 1LL << 13,
|
||||
MLX4_DEV_CAP_FLAG2_ETH_PROT_CTRL = 1LL << 14,
|
||||
MLX4_DEV_CAP_FLAG2_ETH_BACKPL_AN_REP = 1LL << 15
|
||||
MLX4_DEV_CAP_FLAG2_ETH_BACKPL_AN_REP = 1LL << 15,
|
||||
MLX4_DEV_CAP_FLAG2_CONFIG_DEV = 1LL << 16
|
||||
};
|
||||
|
||||
enum {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue