Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1207038
| From | Jarod Wilson <jarod@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 4/6] ethernet/netxen: advertise LRO support in vlan_features |
| Date | 2015-08-13 20:10 +0200 |
| Message-ID | <pX56X-2ug-63@gated-at.bofh.it> (permalink) |
| References | <pX56V-2ug-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Without this, the presence of a netxen device in a bond will not trigger
LRO support to be enabled at the bond level, even while it is enabled on
the slave itself.
This change becomes necessary when NETIF_F_LRO is added to
netdev_features.h's NETIF_F_ONE_FOR_ALL.
CC: Manish Chopra <manish.chopra@qlogic.com>
CC: Sony Chacko <sony.chacko@qlogic.com>
CC: Rajesh Borundia <rajesh.borundia@qlogic.com>
CC: netdev@vger.kernel.org
Signed-off-by: Jarod Wilson <jarod@redhat.com>
---
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c b/drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
index 6409a06..0fd5ada54 100644
--- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
+++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
@@ -1387,8 +1387,10 @@ netxen_setup_netdev(struct netxen_adapter *adapter,
if (adapter->capabilities & NX_FW_CAPABILITY_FVLANTX)
netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_TX;
- if (adapter->capabilities & NX_FW_CAPABILITY_HW_LRO)
+ if (adapter->capabilities & NX_FW_CAPABILITY_HW_LRO) {
netdev->hw_features |= NETIF_F_LRO;
+ netdev->vlan_features |= NETIF_F_LRO;
+ }
netdev->features |= netdev->hw_features;
--
1.8.3.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 4/6] ethernet/netxen: advertise LRO support in vlan_features Jarod Wilson <jarod@redhat.com> - 2015-08-13 20:10 +0200
csiph-web