Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150110
b: refs/heads/master
c: fdaff1c
h: refs/heads/master
v: v3
  • Loading branch information
Alexander Duyck authored and David S. Miller committed May 6, 2009
1 parent 2d35ee3 commit c39bdc8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7a921c93626e7481b5d8788d8511995aa2d2b591
refs/heads/master: fdaff1ceac32e1748353e91a420c18141ea153c0
5 changes: 3 additions & 2 deletions trunk/drivers/net/ixgbe/ixgbe_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -461,14 +461,15 @@ static int __ixgbe_notify_dca(struct device *dev, void *data)
**/
static void ixgbe_receive_skb(struct ixgbe_q_vector *q_vector,
struct sk_buff *skb, u8 status,
struct ixgbe_ring *ring,
union ixgbe_adv_rx_desc *rx_desc)
{
struct ixgbe_adapter *adapter = q_vector->adapter;
struct napi_struct *napi = &q_vector->napi;
bool is_vlan = (status & IXGBE_RXD_STAT_VP);
u16 tag = le16_to_cpu(rx_desc->wb.upper.vlan);

skb_record_rx_queue(skb, q_vector->v_idx);
skb_record_rx_queue(skb, ring->queue_index);
if (!(adapter->flags & IXGBE_FLAG_IN_NETPOLL)) {
if (adapter->vlgrp && is_vlan && (tag != 0))
vlan_gro_receive(napi, adapter->vlgrp, tag, skb);
Expand Down Expand Up @@ -782,7 +783,7 @@ static bool ixgbe_clean_rx_irq(struct ixgbe_q_vector *q_vector,
total_rx_packets++;

skb->protocol = eth_type_trans(skb, adapter->netdev);
ixgbe_receive_skb(q_vector, skb, staterr, rx_desc);
ixgbe_receive_skb(q_vector, skb, staterr, rx_ring, rx_desc);

next_desc:
rx_desc->wb.upper.status_error = 0;
Expand Down

0 comments on commit c39bdc8

Please sign in to comment.