pull request: sfc-next 2011-12-16
Subsystems (3)
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(-)
Signature · 3 lines
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.
PATCH 1/3 MAINTAINERS: Update sfc maintainers
Steve Hodgson has moved on from Solarflare.
--- MAINTAINERS | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
MAINTAINERS +0 -1
@@ -5910,7 +5910,6 @@ F: drivers/net/ethernet/emulex/benet/ SFC NETWORK DRIVER M: Solarflare linux maintainers <[email protected]> -M: Steve Hodgson <[email protected]> M: Ben Hutchings <[email protected]> L: [email protected] S: Supported
Signature · 8 lines
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.
PATCH 2/3 sfc: Remove device ID macros only used once
In reply to Ben HutchingsThe SFC9020/SFL9021 device IDs are only used in the device ID table, where we can just as well use comments.
--- drivers/net/ethernet/sfc/efx.c | 4 ++-- drivers/net/ethernet/sfc/efx.h | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-)
drivers/net/ethernet/sfc/efx.c +2 -2
@@ -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 */ };
drivers/net/ethernet/sfc/efx.h +0 -4
@@ -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
Signature · 8 lines
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.
PATCH 3/3 sfc: Use skb_fill_page_desc() to simplify passing of page buffers to GRO
In reply to Ben Hutchings--- drivers/net/ethernet/sfc/rx.c | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-)
drivers/net/ethernet/sfc/rx.c +2 -5
@@ -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;
Signature · 7 lines
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.
David Miller
maintainerFrom: Ben Hutchings <[email protected]>
Date: Fri, 16 Dec 2011 20:10:13 +0000
Quoted 7 lines
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.gitfor-davem
Quoted 6 lines
(commit
70350b0685a370164ed8912835bd7109927c8781)Ben Hutchings (3):
MAINTAINERS: Update sfc maintainers
sfc: Remove device ID macros only used once
sfc: Useskb_fill_page_desc()to simplify passing of page buffers to GRO
Pulled, thanks!