Re: [PACTH net-next] cxgb4: copy the length of cpl_tx_pkt_core to fw_wr

2018-05-21 Thread David Miller
From: Ganesh Goudar Date: Mon, 21 May 2018 12:26:36 +0530 > immdlen field of FW_ETH_TX_PKT_WR is filled in a wrong way, > we must copy the length of all the cpls encapsulated in fw > work request. In the xmit path we missed adding the length > of CPL_TX_PKT_CORE but we added the length of WR_HDR

[PACTH net-next] cxgb4: copy the length of cpl_tx_pkt_core to fw_wr

2018-05-20 Thread Ganesh Goudar
immdlen field of FW_ETH_TX_PKT_WR is filled in a wrong way, we must copy the length of all the cpls encapsulated in fw work request. In the xmit path we missed adding the length of CPL_TX_PKT_CORE but we added the length of WR_HDR and it worked because WR_HDR and CPL_TX_PKT_CORE are of same length.