linux/drivers/net/ethernet/intel/i40e
Ivan Vecera 39ec612acf i40e: Remove back pointer from i40e_hw structure
The .back field placed in i40e_hw is used to get pointer to i40e_pf
instance but it is not necessary as the i40e_hw is a part of i40e_pf
and containerof macro can be used to obtain the pointer to i40e_pf.
Remove .back field from i40e_hw structure, introduce i40e_hw_to_pf()
and i40e_hw_to_dev() helpers and use them.

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2023-10-05 09:13:21 -07:00
..
i40e.h i40e: Remove back pointer from i40e_hw structure 2023-10-05 09:13:21 -07:00
i40e_adminq.c
i40e_adminq.h
i40e_adminq_cmd.h
i40e_alloc.h
i40e_client.c
i40e_common.c
i40e_dcb.c
i40e_dcb.h
i40e_dcb_nl.c
i40e_ddp.c
i40e_debugfs.c
i40e_devids.h
i40e_diag.c
i40e_diag.h
i40e_ethtool.c i40e: Add rx_missed_errors for buffer exhaustion 2023-10-03 15:25:13 -07:00
i40e_hmc.c
i40e_hmc.h
i40e_lan_hmc.c
i40e_lan_hmc.h
i40e_main.c i40e: Remove back pointer from i40e_hw structure 2023-10-05 09:13:21 -07:00
i40e_nvm.c
i40e_osdep.h i40e: Remove back pointer from i40e_hw structure 2023-10-05 09:13:21 -07:00
i40e_prototype.h
i40e_ptp.c
i40e_register.h
i40e_trace.h
i40e_txrx.c net: Tree wide: Replace xdp_do_flush_map() with xdp_do_flush(). 2023-10-03 07:34:51 -07:00
i40e_txrx.h
i40e_txrx_common.h
i40e_type.h i40e: Remove back pointer from i40e_hw structure 2023-10-05 09:13:21 -07:00
i40e_virtchnl_pf.c i40e: Add rx_missed_errors for buffer exhaustion 2023-10-03 15:25:13 -07:00
i40e_virtchnl_pf.h
i40e_xsk.c
i40e_xsk.h
Makefile