DPDK usage discussions
 help / color / mirror / 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, other threads:[~2019-08-08 10:22 UTC | newest]

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)

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).