linux/drivers/net
Jakub Kicinski 6a8ef5428c nfp: bpf: release the reference on offloaded programs
The xdp_prog member of the adapter's data path structure is used
for XDP in driver mode.  In case a XDP program is loaded with in
HW-only mode, we need to store it somewhere else.  Add a new XDP
prog pointer in the main structure and use that when we need to
know whether any XDP program is loaded, not only a driver mode
one.  Only release our reference on adapter free instead of
immediately after netdev unregister to allow offload to be disabled
first.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-23 13:42:19 -04:00
..
appletalk
arcnet networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
bonding net: manual clean code which call skb_put_[data:zero] 2017-06-20 13:30:15 -04:00
caif net: manual clean code which call skb_put_[data:zero] 2017-06-20 13:30:15 -04:00
can networking: make skb_put & friends return void pointers 2017-06-16 11:48:39 -04:00
cris net/{mii, smsc}: Make mii_ethtool_get_link_ksettings and smc_netdev_get_ecmd return void 2017-06-05 11:00:42 -04:00
dsa net: dsa: mv88e6xxx: better IEEE Prio Mapping Table description 2017-06-20 13:27:01 -04:00
ethernet nfp: bpf: release the reference on offloaded programs 2017-06-23 13:42:19 -04:00
fddi
fjes networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
hamradio networking: add and use skb_put_u8() 2017-06-16 11:48:40 -04:00
hippi networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
hyperv hv_netvsc: Fix the carrier state error when data path is off 2017-06-22 13:30:37 -04:00
ieee802154 networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
ipvlan Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-15 11:59:32 -04:00
irda networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
phy net: phy: smsc: fix buffer overflow in memcpy 2017-06-22 11:12:31 -04:00
plip
ppp net: manual clean code which call skb_put_[data:zero] 2017-06-20 13:30:15 -04:00
slip networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
team Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-15 11:59:32 -04:00
usb r8152: correct the definition 2017-06-21 11:32:57 -04:00
vmxnet3
wan networking: make skb_pull & friends return void pointers 2017-06-16 11:48:39 -04:00
wimax networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
wireless Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-21 17:35:22 -04:00
xen-netback
dummy.c net: Fix inconsistent teardown and release of private netdev state. 2017-06-07 15:53:24 -04:00
eql.c
geneve.c networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
gtp.c networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
ifb.c net: Fix inconsistent teardown and release of private netdev state. 2017-06-07 15:53:24 -04:00
Kconfig
LICENSE.SRC
loopback.c net: Fix inconsistent teardown and release of private netdev state. 2017-06-07 15:53:24 -04:00
macsec.c networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
macvlan.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-15 11:59:32 -04:00
macvtap.c
Makefile
mdio.c
mii.c net/{mii, smsc}: Make mii_ethtool_get_link_ksettings and smc_netdev_get_ecmd return void 2017-06-05 11:00:42 -04:00
netconsole.c netconsole: Remove duplicate "netconsole: " logging prefix 2017-06-13 12:57:40 -04:00
nlmon.c net: Fix inconsistent teardown and release of private netdev state. 2017-06-07 15:53:24 -04:00
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c drivers/net/sungem: add const to mii_phy_ops structures 2017-06-08 15:32:47 -04:00
tap.c
tun.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-15 11:59:32 -04:00
veth.c net: Fix inconsistent teardown and release of private netdev state. 2017-06-07 15:53:24 -04:00
virtio_net.c bpf: virtio_net: Report bpf_prog ID during XDP_QUERY_PROG 2017-06-16 11:58:36 -04:00
vrf.c net: remove DST_NOCACHE flag 2017-06-17 22:54:01 -04:00
vsockmon.c net: Fix inconsistent teardown and release of private netdev state. 2017-06-07 15:53:24 -04:00
vxlan.c vxlan: allow multiple VXLANs with same VNI for IPv6 link-local addresses 2017-06-20 13:37:03 -04:00
xen-netfront.c