DPDK usage discussions
 help / color / Atom feed
* [dpdk-users] Query on IXGBE vPMD barrier after descriptors load
@ 2019-08-08 10:21 Ruifeng Wang (Arm Technology China)
  0 siblings, 0 replies; only message in thread
From: Ruifeng Wang (Arm Technology China) @ 2019-08-08 10:21 UTC (permalink / raw)
  To: Bruce Richardson
  Cc: users, Zhang, Qi Z, Gavin Hu (Arm Technology China),
	nd, Honnappa Nagarahalli

Hi Bruce,

When reading IXGBE vPMD code, I have doubt on the barrier used.  Hope you can provide more info on this.

In function _recv_raw_pkts_vec, there is a compiler_barrier after load of descs[0]:
 https://code.dpdk.org/dpdk/latest/source/drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c#L469<https://code.dpdk.org/dpdk/latest/source/drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c>

Could you give some hint about what sequence it is ensuring?
Similar barrier for NEON vPMD on aarch64 platform impacts performance much.

Regards,
/Ruifeng




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-08 10:21 [dpdk-users] Query on IXGBE vPMD barrier after descriptors load Ruifeng Wang (Arm Technology China)

DPDK usage discussions

Archives are clonable:
	git clone --mirror http://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/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


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