]> git.karo-electronics.de Git - karo-tx-linux.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)
commitd475c95b4bcff983ac76e8522bfd2d29bcc567d0
treece55b64fb244094c79a0edc31856cdfbfc6390f8
parent1ab25f86c418b04189c25117090d2b4dc60df417
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