]> 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)
commit2eab1afc4a8d44af2cf5d4880f439f5dd6e1525b
tree7c50d0df7a022a47b46d1972b172bc9d194f64a5
parent1218571b8cfb3e14cda913032856f53f765174aa
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