[dpdk-dev] [PATCH] net/enic: fix CRC strip offload capability
Hyong Youb Kim
hyonkim at cisco.com
Mon May 14 09:56:20 CEST 2018
The NIC always strips CRC, so advertise the CRC strip offload in
rx_offload_capa.
Fixes: 93fb21fdbe23 ("net/enic: enable overlay offload for VXLAN and GENEVE")
Signed-off-by: Hyong Youb Kim <hyonkim at cisco.com>
---
drivers/net/enic/enic_res.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/enic/enic_res.c b/drivers/net/enic/enic_res.c
index a504de5d5..fc60d8b77 100644
--- a/drivers/net/enic/enic_res.c
+++ b/drivers/net/enic/enic_res.c
@@ -188,6 +188,7 @@ int enic_get_vnic_config(struct enic *enic)
DEV_TX_OFFLOAD_TCP_CKSUM |
DEV_TX_OFFLOAD_TCP_TSO;
enic->rx_offload_capa =
+ DEV_RX_OFFLOAD_CRC_STRIP |
DEV_RX_OFFLOAD_VLAN_STRIP |
DEV_RX_OFFLOAD_IPV4_CKSUM |
DEV_RX_OFFLOAD_UDP_CKSUM |
--
2.16.2
More information about the dev
mailing list