i40e: Move memory allocation structures to i40e_alloc.h
authorIvan Vecera <ivecera@redhat.com>
Wed, 27 Sep 2023 08:31:32 +0000 (10:31 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 5 Oct 2023 16:13:42 +0000 (09:13 -0700)
commitef5d54078d451973f90e123fafa23fc95c2a08ae
treedf060371d44e316d348c7e619d1cbc3c4bde4ea5
parentd3276f928a1d2dfebc41a82e967cd0dffeb540f8
i40e: Move memory allocation structures to i40e_alloc.h

Structures i40e_dma_mem & i40e_virt_mem are defined i40e_osdep.h while
memory allocation functions that use them are declared in i40e_alloc.h
Move them there.

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>
drivers/net/ethernet/intel/i40e/i40e_adminq.h
drivers/net/ethernet/intel/i40e/i40e_alloc.h
drivers/net/ethernet/intel/i40e/i40e_osdep.h