]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_en: Add RX-ALL support
authorMuhammad Mahajna <muhammadm@mellanox.com>
Thu, 2 Apr 2015 13:31:22 +0000 (16:31 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2015 20:25:04 +0000 (16:25 -0400)
commite4b9f2acfa845f1895fe4560b3a4ad668b1066c9
tree7c50d0df7a022a47b46d1972b172bc9d194f64a5
parent89b045b71b3b352b721c9c4007745bd5019238f8
net/mlx4_en: Add RX-ALL support

Enabled when the device supports KEEP FCS and IGNORE FCS.

When the flag is set, pass all received frames up the stack,
even ones with invalid FCS, controlled by ethtool.

Signed-off-by: Muhammad Mahajna <muhammadm@mellanox.com>
Signed-off-by: Ido Shamay <idos@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
drivers/net/ethernet/mellanox/mlx4/fw.c
drivers/net/ethernet/mellanox/mlx4/main.c
drivers/net/ethernet/mellanox/mlx4/mlx4.h
drivers/net/ethernet/mellanox/mlx4/port.c
include/linux/mlx4/device.h