Skip to content

Commit

Permalink
net/ice: fix Tx checksum offload capability
Browse files Browse the repository at this point in the history
[ upstream commit fd5ad56 ]

Add missing capability for outer UDP Tx checksum.
Also fixed the feature list in ice_dcf.ini

Fixes: bf89db4 ("net/ice: complete device info get in DCF")

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
  • Loading branch information
qzhan16 authored and bluca committed Feb 14, 2022
1 parent 793c820 commit f7b02e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/guides/nics/features/ice_dcf.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
;
; Refer to default.ini for the full list of available PMD features.
;
; A feature with "P" indicates only be supported when non-vector path
; is selected.
;
[Features]
Queue start/stop = Y
Jumbo frame = Y
Expand All @@ -12,6 +15,8 @@ Flow API = Y
CRC offload = Y
L3 checksum offload = P
L4 checksum offload = P
Inner L3 checksum = P
Inner L4 checksum = P
Basic stats = Y
Linux UIO = Y
Linux VFIO = Y
Expand Down
1 change: 1 addition & 0 deletions drivers/net/ice/ice_dcf_ethdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,7 @@ ice_dcf_dev_info_get(struct rte_eth_dev *dev,
DEV_TX_OFFLOAD_TCP_CKSUM |
DEV_TX_OFFLOAD_SCTP_CKSUM |
DEV_TX_OFFLOAD_OUTER_IPV4_CKSUM |
DEV_TX_OFFLOAD_OUTER_UDP_CKSUM |
DEV_TX_OFFLOAD_TCP_TSO |
DEV_TX_OFFLOAD_VXLAN_TNL_TSO |
DEV_TX_OFFLOAD_GRE_TNL_TSO |
Expand Down

0 comments on commit f7b02e1

Please sign in to comment.