>> +static int stmmac_xdp_xmit_back(struct stmmac_priv *priv,
>> +struct xdp_buff *xdp)
>> +{
>> +struct xdp_frame *xdpf = xdp_convert_buff_to_frame(xdp);
>> +int cpu = smp_processor_id();
>> +struct netdev_queue *nq;
>> +int queue;
>> +int res;
>> +
On Wed, 31 Mar 2021 23:41:34 +0800 Ong Boon Leong wrote:
> This patch adds support for XDP_TX action which enables XDP program to
> transmit back received frames.
>
> This patch has been tested with the "xdp2" app located in samples/bpf
> dir. The DUT receives burst traffic packet generated using
This patch adds support for XDP_TX action which enables XDP program to
transmit back received frames.
This patch has been tested with the "xdp2" app located in samples/bpf
dir. The DUT receives burst traffic packet generated using pktgen script
'pktgen_sample03_burst_single_flow.sh'.
v3: Added 'n