RE: [Intel-wired-lan] [PATCH v7 intel-next 2/9] ice: move ice_container_type onto ice_ring_container
From: G, GurucharanX <hidden>
Date: 2021-09-13 06:50:36
Also in:
intel-wired-lan, netdev
From: G, GurucharanX <hidden>
Date: 2021-09-13 06:50:36
Also in:
intel-wired-lan, netdev
-----Original Message----- From: Intel-wired-lan <redacted> On Behalf Of Maciej Fijalkowski Sent: Thursday, August 19, 2021 5:30 PM To: intel-wired-lan@lists.osuosl.org Cc: joamaki@gmail.com; Lobakin, Alexandr <redacted>; netdev@vger.kernel.org; toke@redhat.com; bjorn@kernel.org; kuba@kernel.org; bpf@vger.kernel.org; davem@davemloft.net; Karlsson, Magnus [off-list ref] Subject: [Intel-wired-lan] [PATCH v7 intel-next 2/9] ice: move ice_container_type onto ice_ring_container Currently ice_container_type is scoped only for ice_ethtool.c. Next commit that will split the ice_ring struct onto Rx/Tx specific ring structs is going to also modify the type of linked list of rings that is within ice_ring_container. Therefore, the functions that are taking the ice_ring_container as an input argument will need to be aware of a ring type that will be looked up. Embed ice_container_type within ice_ring_container and initialize it properly when allocating the q_vectors. Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com> --- drivers/net/ethernet/intel/ice/ice_base.c | 2 ++ drivers/net/ethernet/intel/ice/ice_ethtool.c | 38 ++++++++------------ drivers/net/ethernet/intel/ice/ice_txrx.h | 6 ++++ 3 files changed, 23 insertions(+), 23 deletions(-)
Tested-by: Gurucharan G <redacted> (A Contingent worker at Intel)