Skip to content

Commit 8b9a4d5

Browse files
Vipul Pandyadavem330
authored andcommitted
cxgb4vf: Fix extraction of cpl_rx_pkt from the response queue descriptor
This was preventing GRO and RxCheckSum offload to happen. Signed-off-by: Jay Hernandez <[email protected]> Signed-off-by: Vipul Pandya <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 03536e2 commit 8b9a4d5

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/chelsio/cxgb4vf

1 file changed

+1
-1
lines changed

drivers/net/ethernet/chelsio/cxgb4vf/sge.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1501,7 +1501,7 @@ int t4vf_ethrx_handler(struct sge_rspq *rspq, const __be64 *rsp,
15011501
const struct pkt_gl *gl)
15021502
{
15031503
struct sk_buff *skb;
1504-
const struct cpl_rx_pkt *pkt = (void *)&rsp[1];
1504+
const struct cpl_rx_pkt *pkt = (void *)rsp;
15051505
bool csum_ok = pkt->csum_calc && !pkt->err_vec;
15061506
struct sge_eth_rxq *rxq = container_of(rspq, struct sge_eth_rxq, rspq);
15071507

0 commit comments

Comments
 (0)