]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mlx4_en: use NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM for tx csum at initialization
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Mon, 20 Apr 2009 04:33:15 +0000 (04:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Apr 2009 08:47:07 +0000 (01:47 -0700)
commit45b4d66d690600dac1aa805b75763331483acf22
treeb6769c46b0f53a98367136223b4b053b552b99d8
parent966508f7a591399a0b0dcfc0336e88480e5ed520
mlx4_en: use NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM for tx csum at initialization

The former usage was to set the NETIF_F_HW_CSUM flag which is not used
in get_tx_csum. It caused Ethtool to show tx checksum as "on" even
though it was turned off in previous operation.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mlx4/en_netdev.c