Skip to content

Commit 413cd67

Browse files
ssamudralamehmetb0
authored andcommitted
idpf: record rx queue in skb for RSC packets
BugLink: https://bugs.launchpad.net/bugs/2104873 [ Upstream commit 2ff66c2 ] 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]> Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: Noah Wager <[email protected]>
1 parent 66eee20 commit 413cd67

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
@@ -3086,6 +3086,7 @@ idpf_rx_process_skb_fields(struct idpf_rx_queue *rxq, struct sk_buff *skb,
30863086
idpf_rx_hash(rxq, skb, rx_desc, decoded);
30873087

30883088
skb->protocol = eth_type_trans(skb, rxq->netdev);
3089+
skb_record_rx_queue(skb, rxq->idx);
30893090

30903091
if (le16_get_bits(rx_desc->hdrlen_flags,
30913092
VIRTCHNL2_RX_FLEX_DESC_ADV_RSC_M))
@@ -3094,8 +3095,6 @@ idpf_rx_process_skb_fields(struct idpf_rx_queue *rxq, struct sk_buff *skb,
30943095
csum_bits = idpf_rx_splitq_extract_csum_bits(rx_desc);
30953096
idpf_rx_csum(rxq, skb, csum_bits, decoded);
30963097

3097-
skb_record_rx_queue(skb, rxq->idx);
3098-
30993098
return 0;
31003099
}
31013100

0 commit comments

Comments
 (0)