linux/drivers/net/ethernet/intel
Jedrzej Jagielski b3237df9e7 i40e: Add new version of i40e_aq_add_macvlan function
ASQ send command functions are returning only i40e status codes
yet some calling functions also need Admin Queue status
that is stored in hw->aq.asq_last_status. Since hw object
is stored on a heap it introduces a possibility for
a race condition in access to hw if calling function is not
fast enough to read hw->aq.asq_last_status before next
send ASQ command is executed.

Add new _v2 version of i40e_aq_add_macvlan that is using
new _v2 versions of ASQ send command functions and returns
the Admin Queue status on the stack.

Signed-off-by: Sylwester Dziedziuch <sylwesterx.dziedziuch@intel.com>
Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2022-02-03 13:13:51 -08:00
..
e1000 e1000: switch to napi_build_skb() 2021-12-28 09:42:25 -08:00
e1000e e1000e: Remove useless DMA-32 fallback configuration 2022-01-27 08:58:24 -08:00
fm10k fm10k: Fix syntax errors in comments 2021-12-21 09:17:47 -08:00
i40e i40e: Add new version of i40e_aq_add_macvlan function 2022-02-03 13:13:51 -08:00
iavf iavf: Remove useless DMA-32 fallback configuration 2022-01-27 08:58:24 -08:00
ice ice: respect metadata on XSK Rx to skb 2022-01-31 09:46:05 -08:00
igb igb: Remove useless DMA-32 fallback configuration 2022-01-27 08:58:24 -08:00
igbvf igbvf: Remove useless DMA-32 fallback configuration 2022-01-27 08:58:24 -08:00
igc igc: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb 2022-01-31 09:47:13 -08:00
ixgb ixgb: Remove useless DMA-32 fallback configuration 2022-01-27 08:58:23 -08:00
ixgbe ixgbe: respect metadata on XSK Rx to skb 2022-01-31 09:50:20 -08:00
ixgbevf ixgbevf: Remove useless DMA-32 fallback configuration 2022-01-27 08:58:24 -08:00
e100.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
Kconfig ice: support crosstimestamping on E822 devices if supported 2021-12-21 09:11:40 -08:00
Makefile