net/i40e: update Rx checksum offload
PATCH 1/1 net/i40e: update Rx checksum offload
HW supports Rx scatter offload, this patch updates Rx scatter offload for PF.
--- drivers/net/i40e/i40e_ethdev.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/i40e/i40e_ethdev.c +1 -0
@@ -3378,6 +3378,7 @@ i40e_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)DEV_RX_OFFLOAD_TCP_CKSUM |DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM |DEV_RX_OFFLOAD_KEEP_CRC | +DEV_RX_OFFLOAD_SCATTER |DEV_RX_OFFLOAD_VLAN_EXTEND |DEV_RX_OFFLOAD_VLAN_FILTER |DEV_RX_OFFLOAD_JUMBO_FRAME ;
Signature · 1 line
2.5.5
Quoted 22 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Beilei Xing
Sent: Friday, September 21, 2018 8:36 AM
To: Zhang, Qi Z <[email protected]>
Cc: [email protected]
Subject: [dpdk-dev] [PATCH] net/i40e: update Rx checksum offloadHW supports Rx scatter offload, this patch updates Rx scatter offload for PF.
Signed-off-by Beilei Xing <[email protected]>--- drivers/net/i40e/i40e_ethdev.c | 1 + 1 file changed, 1 insertion(+)drivers/net/i40e/i40e_ethdev.c +0
-0
drivers/net/i40e/i40e_ethdev.c i40e_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
Quoted 8 lines
drivers/net/i40e/i40e_ethdev.c +1
-1@@ -3378,6 +3378,7 @@ i40e_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)DEV_RX_OFFLOAD_TCP_CKSUM |DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM |DEV_RX_OFFLOAD_KEEP_CRC | +DEV_RX_OFFLOAD_SCATTER |DEV_RX_OFFLOAD_VLAN_EXTEND |DEV_RX_OFFLOAD_VLAN_FILTER |DEV_RX_OFFLOAD_JUMBO_FRAME ; --
Quoted 1 line
2.5.5
Zhang, Qi Z
AppliedQuoted 32 lines
-----Original Message-----
From: Ananyev, Konstantin
Sent: Friday, September 21, 2018 4:16 PM
To: Xing, Beilei <[email protected]>; Zhang, Qi Z <[email protected]>
Cc: [email protected]
Subject: RE: [dpdk-dev] [PATCH] net/i40e: update Rx checksum offloaddrivers/net/i40e/i40e_ethdev.c i40e_dev_info_get(struct rte_eth_dev *dev,
Quoted 20 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Beilei Xing
Sent: Friday, September 21, 2018 8:36 AM
To: Zhang, Qi Z <[email protected]>
Cc: [email protected]
Subject: [dpdk-dev] [PATCH] net/i40e: update Rx checksum offloadHW supports Rx scatter offload, this patch updates Rx scatter offload for PF.
Signed-off-by Beilei Xing <[email protected]>--- drivers/net/i40e/i40e_ethdev.c | 1 + 1 file changed, 1 insertion(+)(quoted diff) +0
-0
b/drivers/net/i40e/i40e_ethdev.cindex 24d73f2..37c9c08 100644drivers/net/i40e/i40e_ethdev.c +0
-0@@ -3378,6 +3378,7 @@ i40e_dev_info_get(struct rte_eth_dev *dev,struct
rte_eth_dev_info*dev_info)
Quoted 10 lines
drivers/net/i40e/i40e_ethdev.c i40e_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
Quoted 8 lines
drivers/net/i40e/i40e_ethdev.c +1
-1DEV_RX_OFFLOAD_TCP_CKSUM |DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM |DEV_RX_OFFLOAD_KEEP_CRC | +DEV_RX_OFFLOAD_SCATTER |DEV_RX_OFFLOAD_VLAN_EXTEND |DEV_RX_OFFLOAD_VLAN_FILTER |DEV_RX_OFFLOAD_JUMBO_FRAME ; --
Applied to dpdk-next-net-intel.
Thanks
Qi
Quoted 1 line
Quoted 1 line
2.5.5
PATCH v2 1/1 net/i40e: update Rx offload
In reply to Beilei XingHW supports Rx scatter offload, this patch updates Rx scatter offload for PF.
--- drivers/net/i40e/i40e_ethdev.c | 1 + 1 file changed, 1 insertion(+)
v2 change:
- Remove typo in title
drivers/net/i40e/i40e_ethdev.c +1 -0
@@ -3378,6 +3378,7 @@ i40e_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)DEV_RX_OFFLOAD_TCP_CKSUM |DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM |DEV_RX_OFFLOAD_KEEP_CRC | +DEV_RX_OFFLOAD_SCATTER |DEV_RX_OFFLOAD_VLAN_EXTEND |DEV_RX_OFFLOAD_VLAN_FILTER |DEV_RX_OFFLOAD_JUMBO_FRAME ;
Signature · 1 line
2.5.5
Quoted 3 lines · Beilei Xing
HW supports Rx scatter offload, this patch updates Rx scatter offload for PF.
Should this be for stable branch also?
Quoted 18 lines
Signed-off-by Beilei Xing <[email protected]>--- drivers/net/i40e/i40e_ethdev.c | 1 + 1 file changed, 1 insertion(+)drivers/net/i40e/i40e_ethdev.c +1
-0@@ -3378,6 +3378,7 @@ i40e_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)DEV_RX_OFFLOAD_TCP_CKSUM |DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM |DEV_RX_OFFLOAD_KEEP_CRC | +DEV_RX_OFFLOAD_SCATTER |DEV_RX_OFFLOAD_VLAN_EXTEND |DEV_RX_OFFLOAD_VLAN_FILTER |DEV_RX_OFFLOAD_JUMBO_FRAME ;
Quoted 6 lines · Kevin Traynor
Quoted 3 lines · Beilei Xing
HW supports Rx scatter offload, this patch updates Rx scatter offload for PF.
Should this be for stable branch also?
I think it should, I will update in next-net, Thanks for reminder.
Quoted 20 lines
Quoted 19 lines
Signed-off-by Beilei Xing <[email protected]>--- drivers/net/i40e/i40e_ethdev.c | 1 + 1 file changed, 1 insertion(+)drivers/net/i40e/i40e_ethdev.c +1
-0@@ -3378,6 +3378,7 @@ i40e_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)DEV_RX_OFFLOAD_TCP_CKSUM |DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM |DEV_RX_OFFLOAD_KEEP_CRC | +DEV_RX_OFFLOAD_SCATTER |DEV_RX_OFFLOAD_VLAN_EXTEND |DEV_RX_OFFLOAD_VLAN_FILTER |DEV_RX_OFFLOAD_JUMBO_FRAME ;