netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] NET: Add support for VLAN feature flag propagation
@ 2008-06-05 11:03 Jeff Kirsher
  2008-06-05 11:05 ` [PATCH 1/3] ixbge: allow vlan devices to use TSO and TCP CSUM offload Jeff Kirsher
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jeff Kirsher @ 2008-06-05 11:03 UTC (permalink / raw)
  To: jeff; +Cc: netdev

This patchset adds the new VLAN feature flag support for TSO and CSUM offload.  It uses the new interface implemented by Patrick McHardy, and can be tested against the latest torvalds/linux-2.6 tree.

-- 
Cheers,
Jeff Kirsher

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/3] ixbge: allow vlan devices to use TSO and TCP CSUM offload
  2008-06-05 11:03 [PATCH 0/3] NET: Add support for VLAN feature flag propagation Jeff Kirsher
@ 2008-06-05 11:05 ` Jeff Kirsher
  2008-06-12  2:50   ` Jeff Garzik
  2008-06-05 11:06 ` [PATCH 2/3] igb: " Jeff Kirsher
  2008-06-05 11:07 ` [PATCH 3/3] e1000e: allow VLAN " Jeff Kirsher
  2 siblings, 1 reply; 5+ messages in thread
From: Jeff Kirsher @ 2008-06-05 11:05 UTC (permalink / raw)
  To: jeff; +Cc: netdev

Using the new interface for propagating device feature flags into VLAN
devices, turn on TSO and CSUM offload on VLAN devices.

Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---

 drivers/net/ixgbe/ixgbe_main.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
index 7b85922..0d37c90 100644
--- a/drivers/net/ixgbe/ixgbe_main.c
+++ b/drivers/net/ixgbe/ixgbe_main.c
@@ -3518,8 +3518,13 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev,
 			   NETIF_F_HW_VLAN_FILTER;
 
 	netdev->features |= NETIF_F_TSO;
-
 	netdev->features |= NETIF_F_TSO6;
+
+	netdev->vlan_features |= NETIF_F_TSO;
+	netdev->vlan_features |= NETIF_F_TSO6;
+	netdev->vlan_features |= NETIF_F_HW_CSUM;
+	netdev->vlan_features |= NETIF_F_SG;
+
 	if (pci_using_dac)
 		netdev->features |= NETIF_F_HIGHDMA;
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/3] igb: allow vlan devices to use TSO and TCP CSUM offload
  2008-06-05 11:03 [PATCH 0/3] NET: Add support for VLAN feature flag propagation Jeff Kirsher
  2008-06-05 11:05 ` [PATCH 1/3] ixbge: allow vlan devices to use TSO and TCP CSUM offload Jeff Kirsher
@ 2008-06-05 11:06 ` Jeff Kirsher
  2008-06-05 11:07 ` [PATCH 3/3] e1000e: allow VLAN " Jeff Kirsher
  2 siblings, 0 replies; 5+ messages in thread
From: Jeff Kirsher @ 2008-06-05 11:06 UTC (permalink / raw)
  To: jeff; +Cc: netdev

Using the new interface for propagating device feature flags into VLAN
deivces, turn on TSO and CSUM offload on VLAN devices.

Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---

 drivers/net/igb/igb_main.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index ae398f0..7b6b780 100644
--- a/drivers/net/igb/igb_main.c
+++ b/drivers/net/igb/igb_main.c
@@ -967,8 +967,13 @@ static int __devinit igb_probe(struct pci_dev *pdev,
 			   NETIF_F_HW_VLAN_FILTER;
 
 	netdev->features |= NETIF_F_TSO;
-
 	netdev->features |= NETIF_F_TSO6;
+
+	netdev->vlan_features |= NETIF_F_TSO;
+	netdev->vlan_features |= NETIF_F_TSO6;
+	netdev->vlan_features |= NETIF_F_HW_CSUM;
+	netdev->vlan_features |= NETIF_F_SG;
+
 	if (pci_using_dac)
 		netdev->features |= NETIF_F_HIGHDMA;
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 3/3] e1000e: allow VLAN devices to use TSO and TCP CSUM offload
  2008-06-05 11:03 [PATCH 0/3] NET: Add support for VLAN feature flag propagation Jeff Kirsher
  2008-06-05 11:05 ` [PATCH 1/3] ixbge: allow vlan devices to use TSO and TCP CSUM offload Jeff Kirsher
  2008-06-05 11:06 ` [PATCH 2/3] igb: " Jeff Kirsher
@ 2008-06-05 11:07 ` Jeff Kirsher
  2 siblings, 0 replies; 5+ messages in thread
From: Jeff Kirsher @ 2008-06-05 11:07 UTC (permalink / raw)
  To: jeff; +Cc: netdev

Using the new interface for propagating device feature flags into VLAN
devices, turn on TSO and CSUM offload on VLAN devices.

Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---

 drivers/net/e1000e/netdev.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c
index 8991ab8..fd11207 100644
--- a/drivers/net/e1000e/netdev.c
+++ b/drivers/net/e1000e/netdev.c
@@ -4039,6 +4039,11 @@ static int __devinit e1000_probe(struct pci_dev *pdev,
 	netdev->features |= NETIF_F_TSO;
 	netdev->features |= NETIF_F_TSO6;
 
+	netdev->vlan_features |= NETIF_F_TSO;
+	netdev->vlan_features |= NETIF_F_TSO6;
+	netdev->vlan_features |= NETIF_F_HW_CSUM;
+	netdev->vlan_features |= NETIF_F_SG;
+
 	if (pci_using_dac)
 		netdev->features |= NETIF_F_HIGHDMA;
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/3] ixbge: allow vlan devices to use TSO and TCP CSUM offload
  2008-06-05 11:05 ` [PATCH 1/3] ixbge: allow vlan devices to use TSO and TCP CSUM offload Jeff Kirsher
@ 2008-06-12  2:50   ` Jeff Garzik
  0 siblings, 0 replies; 5+ messages in thread
From: Jeff Garzik @ 2008-06-12  2:50 UTC (permalink / raw)
  To: Jeff Kirsher; +Cc: netdev

Jeff Kirsher wrote:
> Using the new interface for propagating device feature flags into VLAN
> devices, turn on TSO and CSUM offload on VLAN devices.
> 
> Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
> ---
> 
>  drivers/net/ixgbe/ixgbe_main.c |    7 ++++++-
>  1 files changed, 6 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
> index 7b85922..0d37c90 100644
> --- a/drivers/net/ixgbe/ixgbe_main.c
> +++ b/drivers/net/ixgbe/ixgbe_main.c
> @@ -3518,8 +3518,13 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev,
>  			   NETIF_F_HW_VLAN_FILTER;
>  
>  	netdev->features |= NETIF_F_TSO;
> -
>  	netdev->features |= NETIF_F_TSO6;
> +
> +	netdev->vlan_features |= NETIF_F_TSO;
> +	netdev->vlan_features |= NETIF_F_TSO6;
> +	netdev->vlan_features |= NETIF_F_HW_CSUM;
> +	netdev->vlan_features |= NETIF_F_SG;
> +
>  	if (pci_using_dac)

applied 1-3




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-06-12  2:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-05 11:03 [PATCH 0/3] NET: Add support for VLAN feature flag propagation Jeff Kirsher
2008-06-05 11:05 ` [PATCH 1/3] ixbge: allow vlan devices to use TSO and TCP CSUM offload Jeff Kirsher
2008-06-12  2:50   ` Jeff Garzik
2008-06-05 11:06 ` [PATCH 2/3] igb: " Jeff Kirsher
2008-06-05 11:07 ` [PATCH 3/3] e1000e: allow VLAN " Jeff Kirsher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).