linux/drivers/net/ethernet/intel/ixgbe
Florian Westphal a84e3f5333 xfrm: prefer secpath_set over secpath_dup
secpath_set is a wrapper for secpath_dup that will not perform
an allocation if the secpath attached to the skb has a reference count
of one, i.e., it doesn't need to be COW'ed.

Also, secpath_dup doesn't attach the secpath to the skb, it leaves
this to the caller.

Use secpath_set in places that immediately assign the return value to
skb.

This allows to remove skb->sp without touching these spots again.

secpath_dup can eventually be removed in followup patch.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-12-19 11:21:38 -08:00
..
ixgbe_82598.c
ixgbe_82599.c
ixgbe_common.c ixgbe: remove redundant function ixgbe_fw_recovery_mode() 2018-10-03 12:28:04 -07:00
ixgbe_common.h
ixgbe_dcb_82598.c
ixgbe_dcb_82598.h
ixgbe_dcb_82599.c
ixgbe_dcb_82599.h
ixgbe_dcb_nl.c
ixgbe_dcb.c
ixgbe_dcb.h
ixgbe_debugfs.c ixgbe: introduce a helper to simplify code 2018-06-04 10:21:13 -07:00
ixgbe_ethtool.c i40e/ixgbe/igb: fail on new WoL flag setting WAKE_MAGICSECURE 2018-11-07 09:47:01 -08:00
ixgbe_fcoe.c ixgbe: Replace GFP_ATOMIC with GFP_KERNEL 2018-08-24 08:52:35 -07:00
ixgbe_fcoe.h
ixgbe_ipsec.c xfrm: prefer secpath_set over secpath_dup 2018-12-19 11:21:38 -08:00
ixgbe_ipsec.h ixgbe: add VF IPsec management 2018-08-28 14:33:03 -07:00
ixgbe_lib.c ixgbe: add AF_XDP zero-copy Rx support 2018-10-03 12:51:14 -07:00
ixgbe_main.c drivers: net: intel: use secpath helpers in more places 2018-12-19 11:21:37 -08:00
ixgbe_mbx.c
ixgbe_mbx.h ixgbe: add VF IPsec offload request message handling 2018-08-28 14:33:14 -07:00
ixgbe_model.h
ixgbe_phy.c
ixgbe_phy.h
ixgbe_ptp.c ixgbe: extend PTP gettime function to read system clock 2018-11-09 19:43:51 -08:00
ixgbe_sriov.c ixgbe: fix MAC anti-spoofing filter after VFLR 2018-10-31 11:05:51 -07:00
ixgbe_sriov.h
ixgbe_sysfs.c
ixgbe_txrx_common.h ixgbe: add AF_XDP zero-copy Tx support 2018-10-03 12:54:37 -07:00
ixgbe_type.h ixgbe: firmware recovery mode 2018-08-28 12:17:15 -07:00
ixgbe_x540.c
ixgbe_x540.h
ixgbe_x550.c ixgbe: recognize 1000BaseLX SFP modules as 1Gbps 2018-11-28 08:29:49 -08:00
ixgbe_xsk.c ixgbe: add AF_XDP zero-copy Tx support 2018-10-03 12:54:37 -07:00
ixgbe.h ixgbe/ixgbevf: fix XFRM_ALGO dependency 2018-10-31 10:53:15 -07:00
Makefile ixgbe/ixgbevf: fix XFRM_ALGO dependency 2018-10-31 10:53:15 -07:00