]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Add retrieval of CONFIG_DEV parameters
authorMatan Barak <matanb@mellanox.com>
Sun, 2 Nov 2014 14:26:17 +0000 (16:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Nov 2014 17:28:14 +0000 (12:28 -0500)
commit52e9ba8d05f3137e00cd189b54e8cee9f5421ce6
treece55b64fb244094c79a0edc31856cdfbfc6390f8
parent0e623d8483fbe2b6881eb13177359d746380c263
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>
drivers/net/ethernet/mellanox/mlx4/cmd.c
drivers/net/ethernet/mellanox/mlx4/fw.c
drivers/net/ethernet/mellanox/mlx4/mlx4.h
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
include/linux/mlx4/cmd.h
include/linux/mlx4/device.h