XDP hardware hints discussion mail archive
 help / color / mirror / Atom feed
* [xdp-hints] Questions about XDP hints
@ 2024-10-12  7:12 tianmuyang
  2024-10-14 18:09 ` [xdp-hints] " Stanislav Fomichev
  0 siblings, 1 reply; 2+ messages in thread
From: tianmuyang @ 2024-10-12  7:12 UTC (permalink / raw)
  To: bpf
  Cc: larysa.zaremba, ast, daniel, andrii, martin.lau, song, yhs,
	john.fastabend, kpsingh, sdf, haoluo, jolsa, dsahern, kuba,
	willemb, brouer, anatoly.burakov, alexandr.lobakin,
	magnus.karlsson, mtahhan, xdp-hints, netdev,
	willemdebruijn.kernel, alexei.starovoitov, simon.horman,
	Yanan (Euler), Wuchangye (EulerOS), Xiesongyang, Liuxin(EulerOS),
	zhangmingyi (C), liwei (H),
	tianmuyang

Hi all:
	There has been some discussions about adding checksum hint in AF_XDP such as this thread[1]. Now, we also plan to add checksum hint. My questions are:
	1. In this msg[2], is it appropriate if xdp_csum_status only includes 4 enums/macros(CHECKSUM_NONE...CHECKSUM_PARTIAL in skbuff.h)? Thus it becomes more generic. Also, in this msg[3] we can simply pass skb->ip_summed to csum_status in veth_xdp_rx_csum().
	2. What should be taken care of if I want to add a new hint? IOW, what is acceptable to add a new hint?

Thanks!

[1] https://lore.kernel.org/bpf/CAADnVQJPgpo7J0qVTQJYYocZ=Jnw=O5GfN2=PyAQ55+WWG_DVg@mail.gmail.com/
[2] https://lore.kernel.org/bpf/20230728173923.1318596-13-larysa.zaremba@intel.com/
[3] https://lore.kernel.org/bpf/20230728173923.1318596-18-larysa.zaremba@intel.com/


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

end of thread, other threads:[~2024-10-14 18:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-12  7:12 [xdp-hints] Questions about XDP hints tianmuyang
2024-10-14 18:09 ` [xdp-hints] " Stanislav Fomichev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox