idpf: record rx queue in skb for RSC packets
Subsystems (3)
PATCH 1/1 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 90912f9f4f2d ("idpf: convert header split mode to libeth + napi_build_skb()")
Signed-off-by Sridhar Samudrala <[email protected]>
Reviewed-by Madhu Chittim <[email protected]>
--- drivers/net/ethernet/intel/idpf/idpf_txrx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/net/ethernet/intel/idpf/idpf_txrx.c +1 -2
@@ -3070,6 +3070,7 @@ idpf_rx_process_skb_fields(struct idpf_rx_queue *rxq, struct sk_buff *skb,idpf_rx_hash (rxq, skb, rx_desc, decoded); skb->protocol =eth_type_trans (skb, rxq->netdev); +skb_record_rx_queue (skb, rxq->idx);if (le16_get_bits (rx_desc->hdrlen_flags,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, csum_bits =idpf_rx_splitq_extract_csum_bits (rx_desc);idpf_rx_csum (rxq, skb, csum_bits, decoded); -skb_record_rx_queue (skb, rxq->idx); -return 0 ; }
Signature · 1 line
2.46.2
Quoted 12 lines
-----Original Message-----
From: Intel-wired-lan <[email protected]> On Behalf Of Samudrala, Sridhar
Sent: Friday, January 10, 2025 4:30 PM
To: [email protected]; [email protected]
Cc: Samudrala, Sridhar <[email protected]>; Chittim, Madhu <[email protected]>
Subject: [Intel-wired-lan] [PATCH iwl-net] idpf: record rx queue in skb for RSC packets
Quoted 7 lines
Move the call to
skb_record_rx_queueinidpf_rx_process_skb_fields()so that RX queue is recorded for RSC packets too.Fixes 90912f9f4f2d ("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]>