Skip to content

Commit 2ff66c2

Browse files
ssamudralaanguy11
authored andcommitted
idpf: record rx queue in skb for RSC packets
Move the call to skb_record_rx_queue in idpf_rx_process_skb_fields() so that RX queue is recorded for RSC packets too. Fixes: 90912f9 ("idpf: convert header split mode to libeth + napi_build_skb()") Signed-off-by: Sridhar Samudrala <[email protected]> Reviewed-by: Madhu Chittim <[email protected]> Tested-by: Samuel Salin <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
1 parent 69ab25a commit 2ff66c2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/net/ethernet/intel/idpf/idpf_txrx.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3070,6 +3070,7 @@ idpf_rx_process_skb_fields(struct idpf_rx_queue *rxq, struct sk_buff *skb,
30703070
idpf_rx_hash(rxq, skb, rx_desc, decoded);
30713071

30723072
skb->protocol = eth_type_trans(skb, rxq->netdev);
3073+
skb_record_rx_queue(skb, rxq->idx);
30733074

30743075
if (le16_get_bits(rx_desc->hdrlen_flags,
30753076
VIRTCHNL2_RX_FLEX_DESC_ADV_RSC_M))
@@ -3078,8 +3079,6 @@ idpf_rx_process_skb_fields(struct idpf_rx_queue *rxq, struct sk_buff *skb,
30783079
csum_bits = idpf_rx_splitq_extract_csum_bits(rx_desc);
30793080
idpf_rx_csum(rxq, skb, csum_bits, decoded);
30803081

3081-
skb_record_rx_queue(skb, rxq->idx);
3082-
30833082
return 0;
30843083
}
30853084

0 commit comments

Comments
 (0)