* crc stripping for vf on same pf
@ 2024-08-15 9:13 Yaron Illouz
0 siblings, 0 replies; only message in thread
From: Yaron Illouz @ 2024-08-15 9:13 UTC (permalink / raw)
To: dev; +Cc: users
[-- Attachment #1: Type: text/plain, Size: 1033 bytes --]
I have 2 pods running on same worker
Pod1 send to pod2
Pod2 receive with 4 bytes less at end of packet
This problem happens only if the 2 nic are on the same pf,
If different pf, the problem doesn’t occurs
I tried with dpdk21 and dpdk22
The code is using driver net_iavf
nic e810c
driver: ice
firmware-version: 4.00 0x800139bc 21.5.9
Who does the stripping? The dpdk code or the card?
Why is is different behavior for same pf and different pf ?
What should i change or check?
port_conf.rxmode.offloads |= RTE_ETH_RX_OFFLOAD_KEEP_CRC; //Don't strip CRC
port_conf.rxmode.offloads &= pi_devInfo.rx_offload_capa;
int ret = rte_eth_dev_configure(pi_nPort, nRxQueues, nTxQueues, &port_conf);
struct rte_eth_rxconf rx_conf;
rx_conf.offloads = RTE_ETH_RX_OFFLOAD_KEEP_CRC;
int ret = rte_eth_rx_queue_setup(
pi_nPort,
nQueue,
nRxRingSize,
socket,
performanceMode?NULL:&rx_conf,
pool);
[-- Attachment #2: Type: text/html, Size: 4120 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-08-15 9:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-15 9:13 crc stripping for vf on same pf Yaron Illouz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).