On Jan 20, Alexei Starovoitov wrote: > On Fri, Jan 20, 2023 at 9:17 AM Lorenzo Bianconi <lorenzo@xxxxxxxxxx> wrote: > > + > > +#define NETDEV_XDP_ACT_BASIC (NETDEV_XDP_ACT_DROP | \ > > + NETDEV_XDP_ACT_PASS | \ > > + NETDEV_XDP_ACT_TX | \ > > + NETDEV_XDP_ACT_ABORTED) > > Why split it into 4? > Is there a driver that does a subset? nope, at least all drivers support NETDEV_XDP_ACT_BASIC. I guess we can squash them and just add NETDEV_XDP_ACT_BASIC. Regards, Lorenzo
Attachment:
signature.asc
Description: PGP signature