]> www.infradead.org Git - users/hch/misc.git/commit
nfp: xsk: add configuration check for XSK socket chunk size
authorNiklas Söderlund <niklas.soderlund@corigine.com>
Fri, 4 Mar 2022 10:22:13 +0000 (11:22 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Mar 2022 13:06:12 +0000 (13:06 +0000)
commit9c91a3653fbb69d07f328edb11380552042f9114
tree29cd44a242adbce867b059354a6e8e4044726878
parent543bd14fc8f64e44437780aaecd0911c718c471a
nfp: xsk: add configuration check for XSK socket chunk size

In preparation for adding AF_XDP support add a configuration check to
make sure the buffer size can not be set to a larger value then the XSK
socket chunk size.

Signed-off-by: Niklas Söderlund <niklas.soderlund@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_common.c