On Wed, 9 Dec 2020 at 18:29, Yonghong Song wrote:
>
>
>
> On 12/7/20 1:53 PM, Weqaar Janjua wrote:
> > Adds following tests:
> >
> > 1. AF_XDP SKB mode
> > Generic mode XDP is driver independent, used when the driver does
> > not have support for
This patch adds *xdpxceiver* to selftests/bpf/.gitignore
Reported-by: Yonghong Song
Suggested-by: Yonghong Song
Signed-off-by: Weqaar Janjua
---
tools/testing/selftests/bpf/.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/bpf/.gitignore
b/tools/testing
On Sat, 28 Nov 2020 at 03:13, Yonghong Song wrote:
>
>
>
> On 11/27/20 9:54 AM, Weqaar Janjua wrote:
> > On Fri, 27 Nov 2020 at 04:19, Yonghong Song wrote:
> >>
> >>
> >>
> >> On 11/26/20 1:22 PM, Weqaar Janjua wrote:
> >>> On Th
topology
Signed-off-by: Weqaar Janjua
---
tools/testing/selftests/bpf/Makefile | 4 +-
tools/testing/selftests/bpf/test_xsk.sh| 152 +
tools/testing/selftests/bpf/xsk_prereqs.sh | 119
3 files changed, 274 insertions(+), 1 deletion(-)
create mode 100755
* Only copy mode is supported because veth does not currently support
zero-copy mode
Signed-off-by: Weqaar Janjua
---
tools/testing/selftests/bpf/test_xsk.sh | 24 ++
tools/testing/selftests/bpf/xdpxceiver.c | 100 +--
tools/testing/selftests/bpf/xdpxceiver.h
() syscall
Signed-off-by: Weqaar Janjua
---
tools/testing/selftests/bpf/Makefile | 3 +-
tools/testing/selftests/bpf/test_xsk.sh| 39 +-
tools/testing/selftests/bpf/xdpxceiver.c | 979 +
tools/testing/selftests/bpf/xdpxceiver.h | 153
tools/testing/selftests
supported because veth does not currently support
zero-copy mode
Signed-off-by: Weqaar Janjua
---
tools/testing/selftests/bpf/test_xsk.sh | 24
tools/testing/selftests/bpf/xdpxceiver.c | 35 +---
tools/testing/selftests/bpf/xdpxceiver.h | 2 ++
3 files
copy mode is supported because veth does not currently support
zero-copy mode
Signed-off-by: Weqaar Janjua
---
tools/testing/selftests/bpf/test_xsk.sh | 24
tools/testing/selftests/bpf/xdpxceiver.c | 22 +++---
tools/testing/selftests/bpf
DRV Bi-directional Sockets
Thanks: Weqaar
Weqaar Janjua (5):
selftests/bpf: xsk selftests framework
selftests/bpf: xsk selftests - SKB POLL, NOPOLL
selftests/bpf: xsk selftests - DRV POLL, NOPOLL
selftests/bpf: xsk selftests - Socket Teardown - SKB, DRV
selftests/bpf: xsk selftests - Bi
On Fri, 27 Nov 2020 at 04:19, Yonghong Song wrote:
>
>
>
> On 11/26/20 1:22 PM, Weqaar Janjua wrote:
> > On Thu, 26 Nov 2020 at 09:01, Björn Töpel wrote:
> >>
> >> On 2020-11-26 07:44, Yonghong Song wrote:
> >>>
> >> [...]
> >>>
On Fri, 27 Nov 2020 at 04:31, Yonghong Song wrote:
>
>
>
> On 11/25/20 10:37 AM, Weqaar Janjua wrote:
> > Adds following tests:
> >
> > 1. AF_XDP SKB mode
> > Generic mode XDP is driver independent, used when the driver does
> > not have sup
On Thu, 26 Nov 2020 at 09:01, Björn Töpel wrote:
>
> On 2020-11-26 07:44, Yonghong Song wrote:
> >
> [...]
> >
> > What other configures I am missing?
> >
> > BTW, I cherry-picked the following pick from bpf tree in this experiment.
> >commit e7f4a5919bf66e530e08ff352d9b78ed89574e6b (HEAD -> x
supported because veth does not currently support
zero-copy mode
Signed-off-by: Weqaar Janjua
---
tools/testing/selftests/bpf/test_xsk.sh | 24
tools/testing/selftests/bpf/xdpxceiver.c | 35 +---
tools/testing/selftests/bpf/xdpxceiver.h | 2 ++
3 files
copy mode is supported because veth does not currently support
zero-copy mode
Signed-off-by: Weqaar Janjua
---
tools/testing/selftests/bpf/test_xsk.sh | 24
tools/testing/selftests/bpf/xdpxceiver.c | 22 +++---
tools/testing/selftests/bpf
* Only copy mode is supported because veth does not currently support
zero-copy mode
Signed-off-by: Weqaar Janjua
---
tools/testing/selftests/bpf/test_xsk.sh | 24 ++
tools/testing/selftests/bpf/xdpxceiver.c | 100 +--
tools/testing/selftests/bpf/xdpxceiver.h
topology
Signed-off-by: Weqaar Janjua
---
tools/testing/selftests/bpf/Makefile | 5 +-
tools/testing/selftests/bpf/test_xsk.sh| 146 +
tools/testing/selftests/bpf/xsk_env.sh | 11 ++
tools/testing/selftests/bpf/xsk_prereqs.sh | 119 +
4 files changed
() syscall
Signed-off-by: Weqaar Janjua
---
tools/testing/selftests/bpf/Makefile | 2 +-
tools/testing/selftests/bpf/test_xsk.sh | 36 +-
tools/testing/selftests/bpf/xdpxceiver.c | 961 +++
tools/testing/selftests/bpf/xdpxceiver.h | 151
tools/testing/selftests/bpf
: SKB and DRV Socket Teardown
Patch 5: Adds tests: SKB and DRV Bi-directional Sockets
Thanks: Weqaar
Weqaar Janjua (5):
selftests/bpf: xsk selftests framework
selftests/bpf: xsk selftests - SKB POLL, NOPOLL
selftests/bpf: xsk selftests - DRV POLL, NOPOLL
selftests/bpf: xsk selftests - Socket
On Tue, 24 Nov 2020 at 17:10, Yonghong Song wrote:
>
>
>
> On 11/24/20 7:11 AM, Weqaar Janjua wrote:
> > On Sat, 21 Nov 2020 at 20:14, Weqaar Janjua wrote:
> >>
> >> On Fri, 20 Nov 2020 at 20:45, Yonghong Song wrote:
> >>>
> >>>
>
On Sat, 21 Nov 2020 at 20:14, Weqaar Janjua wrote:
>
> On Fri, 20 Nov 2020 at 20:45, Yonghong Song wrote:
> >
> >
> >
> > On 11/20/20 5:00 AM, Weqaar Janjua wrote:
> > > Adds following tests:
> > >
> > > 1. AF_XDP SKB mode
> > >
On Fri, 20 Nov 2020 at 20:45, Yonghong Song wrote:
>
>
>
> On 11/20/20 5:00 AM, Weqaar Janjua wrote:
> > Adds following tests:
> >
> > 1. AF_XDP SKB mode
> > d. Bi-directional Sockets
> >Configure sockets as bi-directional tx/rx sockets, sets
On Fri, 20 Nov 2020 at 18:54, Yonghong Song wrote:
>
>
>
> On 11/20/20 5:00 AM, Weqaar Janjua wrote:
> > Adds following tests:
> >
> > 1. AF_XDP SKB mode
> > Generic mode XDP is driver independent, used when the driver does
> > not have sup
selftests/bpf
Patch 2: Adds tests: SKB poll and nopoll mode, and mac-ip-udp debug
Patch 3: Adds tests: DRV poll and nopoll mode
Patch 4: Adds tests: SKB and DRV Socket Teardown
Patch 5: Adds tests: SKB and DRV Bi-directional Sockets
Thanks: Weqaar
Weqaar Janjua (5):
selftests/bpf: xsk selftests
supported because veth does not currently support
zero-copy mode
Signed-off-by: Weqaar Janjua
---
tools/testing/selftests/bpf/Makefile | 4 ++-
.../selftests/bpf/test_xsk_drv_poll.sh| 3 --
.../selftests/bpf/test_xsk_drv_teardown.sh| 23
.../selftests/bpf
() syscall
Signed-off-by: Weqaar Janjua
---
tools/testing/selftests/bpf/Makefile | 5 +-
.../selftests/bpf/test_xsk_prerequisites.sh | 15 +-
.../selftests/bpf/test_xsk_skb_nopoll.sh | 20 +
..._xsk_framework.sh => test_xsk_skb_poll.sh} | 12 +-
tools/testing/selftests/
xsk layers of the topology
Signed-off-by: Weqaar Janjua
---
tools/testing/selftests/bpf/Makefile | 6 +-
.../selftests/bpf/test_xsk_framework.sh | 17 +++
.../selftests/bpf/test_xsk_prerequisites.sh | 116 +
tools/testing/selftests/bpf/xsk_env.sh| 11
copy mode is supported because veth does not currently support
zero-copy mode
Signed-off-by: Weqaar Janjua
---
tools/testing/selftests/bpf/Makefile | 4 +++-
.../selftests/bpf/test_xsk_drv_nopoll.sh | 20
.../selftests/bpf/test_xsk_drv_poll.sh| 23
* Only copy mode is supported because veth does not currently support
zero-copy mode
Signed-off-by: Weqaar Janjua
---
tools/testing/selftests/bpf/Makefile | 4 +-
.../bpf/test_xsk_drv_bidirectional.sh | 23
.../selftests/bpf/test_xsk_drv_teardown.sh| 3
On Mon, 2 Nov 2020 at 23:08, Daniel Borkmann wrote:
>
> On 10/30/20 1:13 PM, Weqaar Janjua wrote:
> > This patch set adds AF_XDP selftests based on veth to selftests/xsk/.
> >
> > # Topology:
> > # -
> > # ---
supported because veth does not currently support
zero-copy mode
Signed-off-by: Weqaar Janjua
---
tools/testing/selftests/xsk/Makefile | 4 ++-
tools/testing/selftests/xsk/README| 6 +++-
.../selftests/xsk/TEST_XSK_DRV_POLL.sh| 3 --
.../selftests/xsk
copy mode is supported because veth does not currently support
zero-copy mode
Signed-off-by: Weqaar Janjua
---
tools/testing/selftests/xsk/Makefile | 4 +++-
tools/testing/selftests/xsk/README| 11 +-
.../selftests/xsk/TEST_XSK_DRV_NOPOLL.sh | 18
: Weqaar Janjua
---
MAINTAINERS | 1 +
tools/testing/selftests/Makefile | 1 +
tools/testing/selftests/xsk/Makefile | 10 ++
tools/testing/selftests/xsk/README| 72 +++
.../selftests/xsk/TEST_PREREQUISITES.sh | 53
* Only copy mode is supported because veth does not currently support
zero-copy mode
Signed-off-by: Weqaar Janjua
---
tools/testing/selftests/xsk/Makefile | 4 +-
tools/testing/selftests/xsk/README| 7 +-
.../xsk/TEST_XSK_DRV_BIDIRECTIONAL.sh | 22
() syscall
Signed-off-by: Weqaar Janjua
---
tools/testing/selftests/xsk/Makefile | 20 +-
tools/testing/selftests/xsk/README| 35 +
.../selftests/xsk/TEST_XSK_SKB_NOPOLL.sh | 18 +
.../selftests/xsk/TEST_XSK_SKB_POLL.sh| 21 +
tools/testing/selftests/xsk/config
README updates
Patch 3: Adds tests: DRV poll and nopoll mode, and README updates
Patch 4: Adds tests: SKB and DRV Socket Teardown, and README updates
Patch 5: Adds tests: SKB and DRV Bi-directional Sockets, and README
updates
Thanks: Weqaar
Weqaar Janjua (5):
selftests/xsk: xsk
: 248c7f9c0e21 ("samples/bpf: convert xdpsock to use libbpf for AF_XDP
access")
Signed-off-by: Weqaar Janjua
---
samples/bpf/xdpsock_user.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/samples/bpf/xdpsock_user.c b/samples/bpf/xdpsock_user.c
index 19
-to-xdpsock-to-avoid-recycling-frames.patch
new file mode 100644
index ..ae3b99b335e2
--- /dev/null
+++ b/0001-samples-bpf-fix-to-xdpsock-to-avoid-recycling-frames.patch
@@ -0,0 +1,62 @@
+From df0a23a79c9dca96c0059b4d766a613eba57200e Mon Sep 17 00:00:00 2001
+From: Weqaar Janjua
+Date
37 matches
Mail list logo