DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Is it possible to receive packets with bad CRC?
@ 2020-12-13 16:55 Ido Goshen
  2021-06-08  3:44 ` JieSong
  0 siblings, 1 reply; 4+ messages in thread
From: Ido Goshen @ 2020-12-13 16:55 UTC (permalink / raw)
  To: users

Hi

By default bad CRC packets are dropped and raise the ierror counter.

Is there a way to change this behavior for I350 (igb) and rx it by the app?

I’ve tried setting DEV_RX_OFFLOAD_KEEP_CRC but this doesn’t help (I think this only keeps CRC for good packets)
I’ve also tried enabling the Store Bad Packet (not sure what it does but it’s the closet I could find) by setting in e1000/igb_rxtx.c
rctl |= E1000_RCTL_SBP;  E1000_WRITE_REG(hw, E1000_RCTL, rctl);
Didn’t help either.

Is it possible to do with I350?
Or with any of the other intel NICs? X522 (ixgbe) or X710 (i40e)?

Thanx,

  *   Ido


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-09  4:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-13 16:55 [dpdk-users] Is it possible to receive packets with bad CRC? Ido Goshen
2021-06-08  3:44 ` JieSong
2021-06-08 15:23   ` Stephen Hemminger
2021-06-09  4:58     ` songj

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ https://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git