ixgbe: add XDP support for pass and drop actions
authorJohn Fastabend <john.r.fastabend@intel.com>
Mon, 24 Apr 2017 10:30:17 +0000 (03:30 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 30 Apr 2017 02:55:08 +0000 (19:55 -0700)
commit9247080816297de4e31abb684939c0e53e3a8a67
treeaf7a1fe32d6241126982737522fd0e57e38c5b2a
parent6133406be1aabfb041f024109efc41756970800e
ixgbe: add XDP support for pass and drop actions

Basic XDP drop support for ixgbe. Uses READ_ONCE/xchg semantics on XDP
programs instead of RCU primitives as suggested by Daniel Borkmann and
Alex Duyck.

v2: fix the build issues seen w/ XDP when page sizes are larger than 4K
    and made minor fixes based on feedback from Jakub Kicinski

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c