From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laatz, Kevin Date: Thu, 25 Jul 2019 18:00:27 +0100 Subject: [Intel-wired-lan] [PATCH bpf-next v3 08/11] samples/bpf: add unaligned chunks mode support to xdpsock In-Reply-To: References: <20190716030637.5634-1-kevin.laatz@intel.com> <20190724051043.14348-1-kevin.laatz@intel.com> <20190724051043.14348-9-kevin.laatz@intel.com> Message-ID: <27c5c008-def3-d9dc-792c-e5a500103be8@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: intel-wired-lan@osuosl.org List-ID: On 25/07/2019 10:43, Maxim Mikityanskiy wrote: > On 2019-07-24 08:10, Kevin Laatz wrote: >> This patch adds support for the unaligned chunks mode. The addition of the >> unaligned chunks option will allow users to run the application with more >> relaxed chunk placement in the XDP umem. >> >> Unaligned chunks mode can be used with the '-u' or '--unaligned' command >> line options. >> >> Signed-off-by: Kevin Laatz >> Signed-off-by: Ciara Loftus >> --- >> samples/bpf/xdpsock_user.c | 17 +++++++++++++++-- >> 1 file changed, 15 insertions(+), 2 deletions(-) > <...> > >> @@ -372,6 +378,7 @@ static void usage(const char *prog) >> " -z, --zero-copy Force zero-copy mode.\n" >> " -c, --copy Force copy mode.\n" >> " -f, --frame-size=n Set the frame size (must be a power of two, default is %d).\n" > Help text for -f has to be updated, it doesn't have to be a power of two > if -u is specified. Will fix in the v4, thanks!