]> 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)
commitc761172c782378b4f66e0ae1a7cce53987f454b2
treece55b64fb244094c79a0edc31856cdfbfc6390f8
parentadacb7606e38d3f9609adbfe7a9b8828000f4b14
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