Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
4721d221
Commit
4721d221
authored
Dec 16, 2011
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-davem' of
git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next
parents
220b07e9
70350b06
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
12 deletions
+4
-12
MAINTAINERS
MAINTAINERS
+0
-1
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/efx.c
+2
-2
drivers/net/ethernet/sfc/efx.h
drivers/net/ethernet/sfc/efx.h
+0
-4
drivers/net/ethernet/sfc/rx.c
drivers/net/ethernet/sfc/rx.c
+2
-5
No files found.
MAINTAINERS
View file @
4721d221
...
...
@@ -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
...
...
drivers/net/ethernet/sfc/efx.c
View file @
4721d221
...
...
@@ -2236,9 +2236,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
View file @
4721d221
...
...
@@ -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
...
...
drivers/net/ethernet/sfc/rx.c
View file @
4721d221
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment