netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pull request: sfc-next 2011-12-16
@ 2011-12-16 20:10 Ben Hutchings
  2011-12-16 20:12 ` [PATCH net-next 1/3] MAINTAINERS: Update sfc maintainers Ben Hutchings
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ben Hutchings @ 2011-12-16 20:10 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

[-- Attachment #1: Type: text/plain, Size: 926 bytes --]

The following changes since commit de93cb2eaffd6d3e44bc738babfac35769d79720:

  vlan: static functions (2011-12-14 02:39:30 -0500)

are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next.git for-davem

(commit 70350b0685a370164ed8912835bd7109927c8781)

Ben Hutchings (3):
      MAINTAINERS: Update sfc maintainers
      sfc: Remove device ID macros only used once
      sfc: Use skb_fill_page_desc() to simplify passing of page buffers to GRO

 MAINTAINERS                    |    1 -
 drivers/net/ethernet/sfc/efx.c |    4 ++--
 drivers/net/ethernet/sfc/efx.h |    4 ----
 drivers/net/ethernet/sfc/rx.c  |    7 ++-----
 4 files changed, 4 insertions(+), 12 deletions(-)

-- 
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

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

* [PATCH net-next 1/3] MAINTAINERS: Update sfc maintainers
  2011-12-16 20:10 pull request: sfc-next 2011-12-16 Ben Hutchings
@ 2011-12-16 20:12 ` Ben Hutchings
  2011-12-16 20:12 ` [PATCH net-next 2/3] sfc: Remove device ID macros only used once Ben Hutchings
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Ben Hutchings @ 2011-12-16 20:12 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, linux-net-drivers

Steve Hodgson has moved on from Solarflare.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
---
 MAINTAINERS |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 209ad06..860a4ce 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -5910,7 +5910,6 @@ F:	drivers/net/ethernet/emulex/benet/
 
 SFC NETWORK DRIVER
 M:	Solarflare linux maintainers <linux-net-drivers@solarflare.com>
-M:	Steve Hodgson <shodgson@solarflare.com>
 M:	Ben Hutchings <bhutchings@solarflare.com>
 L:	netdev@vger.kernel.org
 S:	Supported
-- 
1.7.4.4



-- 
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

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

* [PATCH net-next 2/3] sfc: Remove device ID macros only used once
  2011-12-16 20:10 pull request: sfc-next 2011-12-16 Ben Hutchings
  2011-12-16 20:12 ` [PATCH net-next 1/3] MAINTAINERS: Update sfc maintainers Ben Hutchings
@ 2011-12-16 20:12 ` Ben Hutchings
  2011-12-16 20:12 ` [PATCH net-next 3/3] sfc: Use skb_fill_page_desc() to simplify passing of page buffers to GRO Ben Hutchings
  2011-12-16 20:24 ` pull request: sfc-next 2011-12-16 David Miller
  3 siblings, 0 replies; 5+ messages in thread
From: Ben Hutchings @ 2011-12-16 20:12 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, linux-net-drivers

The SFC9020/SFL9021 device IDs are only used in the device ID table,
where we can just as well use comments.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
---
 drivers/net/ethernet/sfc/efx.c |    4 ++--
 drivers/net/ethernet/sfc/efx.h |    4 ----
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/drivers/net/ethernet/sfc/efx.c b/drivers/net/ethernet/sfc/efx.c
index 14e134d..9cf3eab 100644
--- a/drivers/net/ethernet/sfc/efx.c
+++ b/drivers/net/ethernet/sfc/efx.c
@@ -2235,9 +2235,9 @@ static DEFINE_PCI_DEVICE_TABLE(efx_pci_table) = {
 	{PCI_DEVICE(PCI_VENDOR_ID_SOLARFLARE,
 		    PCI_DEVICE_ID_SOLARFLARE_SFC4000B),
 	 .driver_data = (unsigned long) &falcon_b0_nic_type},
-	{PCI_DEVICE(PCI_VENDOR_ID_SOLARFLARE, BETHPAGE_A_P_DEVID),
+	{PCI_DEVICE(PCI_VENDOR_ID_SOLARFLARE, 0x0803),	/* SFC9020 */
 	 .driver_data = (unsigned long) &siena_a0_nic_type},
-	{PCI_DEVICE(PCI_VENDOR_ID_SOLARFLARE, SIENA_A_P_DEVID),
+	{PCI_DEVICE(PCI_VENDOR_ID_SOLARFLARE, 0x0813),	/* SFL9021 */
 	 .driver_data = (unsigned long) &siena_a0_nic_type},
 	{0}			/* end of list */
 };
diff --git a/drivers/net/ethernet/sfc/efx.h b/drivers/net/ethernet/sfc/efx.h
index 4764793..8a5336d 100644
--- a/drivers/net/ethernet/sfc/efx.h
+++ b/drivers/net/ethernet/sfc/efx.h
@@ -14,10 +14,6 @@
 #include "net_driver.h"
 #include "filter.h"
 
-/* PCI IDs */
-#define BETHPAGE_A_P_DEVID      0x0803
-#define SIENA_A_P_DEVID         0x0813
-
 /* Solarstorm controllers use BAR 0 for I/O space and BAR 2(&3) for memory */
 #define EFX_MEM_BAR 2
 
-- 
1.7.4.4



-- 
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

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

* [PATCH net-next 3/3] sfc: Use skb_fill_page_desc() to simplify passing of page buffers to GRO
  2011-12-16 20:10 pull request: sfc-next 2011-12-16 Ben Hutchings
  2011-12-16 20:12 ` [PATCH net-next 1/3] MAINTAINERS: Update sfc maintainers Ben Hutchings
  2011-12-16 20:12 ` [PATCH net-next 2/3] sfc: Remove device ID macros only used once Ben Hutchings
@ 2011-12-16 20:12 ` Ben Hutchings
  2011-12-16 20:24 ` pull request: sfc-next 2011-12-16 David Miller
  3 siblings, 0 replies; 5+ messages in thread
From: Ben Hutchings @ 2011-12-16 20:12 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, linux-net-drivers

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
---
 drivers/net/ethernet/sfc/rx.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/drivers/net/ethernet/sfc/rx.c b/drivers/net/ethernet/sfc/rx.c
index 955b149..aca3498 100644
--- a/drivers/net/ethernet/sfc/rx.c
+++ b/drivers/net/ethernet/sfc/rx.c
@@ -479,11 +479,8 @@ static void efx_rx_packet_gro(struct efx_channel *channel,
 		if (efx->net_dev->features & NETIF_F_RXHASH)
 			skb->rxhash = efx_rx_buf_hash(eh);
 
-		skb_frag_set_page(skb, 0, page);
-		skb_shinfo(skb)->frags[0].page_offset =
-			efx_rx_buf_offset(efx, rx_buf);
-		skb_frag_size_set(&skb_shinfo(skb)->frags[0], rx_buf->len);
-		skb_shinfo(skb)->nr_frags = 1;
+		skb_fill_page_desc(skb, 0, page,
+				   efx_rx_buf_offset(efx, rx_buf), rx_buf->len);
 
 		skb->len = rx_buf->len;
 		skb->data_len = rx_buf->len;
-- 
1.7.4.4


-- 
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

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

* Re: pull request: sfc-next 2011-12-16
  2011-12-16 20:10 pull request: sfc-next 2011-12-16 Ben Hutchings
                   ` (2 preceding siblings ...)
  2011-12-16 20:12 ` [PATCH net-next 3/3] sfc: Use skb_fill_page_desc() to simplify passing of page buffers to GRO Ben Hutchings
@ 2011-12-16 20:24 ` David Miller
  3 siblings, 0 replies; 5+ messages in thread
From: David Miller @ 2011-12-16 20:24 UTC (permalink / raw)
  To: bhutchings; +Cc: netdev

From: Ben Hutchings <bhutchings@solarflare.com>
Date: Fri, 16 Dec 2011 20:10:13 +0000

> The following changes since commit de93cb2eaffd6d3e44bc738babfac35769d79720:
> 
>   vlan: static functions (2011-12-14 02:39:30 -0500)
> 
> are available in the git repository at:
>   git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next.git for-davem
> 
> (commit 70350b0685a370164ed8912835bd7109927c8781)
> 
> Ben Hutchings (3):
>       MAINTAINERS: Update sfc maintainers
>       sfc: Remove device ID macros only used once
>       sfc: Use skb_fill_page_desc() to simplify passing of page buffers to GRO

Pulled, thanks!

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

end of thread, other threads:[~2011-12-16 20:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-16 20:10 pull request: sfc-next 2011-12-16 Ben Hutchings
2011-12-16 20:12 ` [PATCH net-next 1/3] MAINTAINERS: Update sfc maintainers Ben Hutchings
2011-12-16 20:12 ` [PATCH net-next 2/3] sfc: Remove device ID macros only used once Ben Hutchings
2011-12-16 20:12 ` [PATCH net-next 3/3] sfc: Use skb_fill_page_desc() to simplify passing of page buffers to GRO Ben Hutchings
2011-12-16 20:24 ` pull request: sfc-next 2011-12-16 David Miller

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).