[Intel-wired-lan] [PATCH iwl-next v6 10/15] idpf: add splitq start_xmit

Singh, Krishneil K krishneil.k.singh at intel.com
Tue May 30 23:00:00 UTC 2023


> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Pavan Kumar Linga
> Sent: Monday, May 22, 2023 5:23 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: willemb at google.com; pabeni at redhat.com; leon at kernel.org;
> mst at redhat.com; simon.horman at corigine.com; Brandeburg, Jesse
> <jesse.brandeburg at intel.com>; stephen at networkplumber.org;
> edumazet at google.com; Nguyen, Anthony L
> <anthony.l.nguyen at intel.com>; netdev at vger.kernel.org; kuba at kernel.org;
> Burra, Phani R <phani.r.burra at intel.com>; decot at google.com;
> davem at davemloft.net; shannon.nelson at amd.com
> Subject: [Intel-wired-lan] [PATCH iwl-next v6 10/15] idpf: add splitq
> start_xmit
> 
> From: Joshua Hay <joshua.a.hay at intel.com>
> 
> Add start_xmit support for split queue model. To start with, add the
> necessary checks to linearize the skb if it uses more number of
> buffers than the hardware supported limit. Stop the transmit queue
> if there are no enough descriptors available for the skb to use or
> if there we're going to potentially overrun the completion queue.
> Finally prepare the descriptor with all the required
> information and update the tail.
> 
> Signed-off-by: Joshua Hay <joshua.a.hay at intel.com>
> Co-developed-by: Alan Brady <alan.brady at intel.com>
> Signed-off-by: Alan Brady <alan.brady at intel.com>
> Co-developed-by: Madhu Chittim <madhu.chittim at intel.com>
> Signed-off-by: Madhu Chittim <madhu.chittim at intel.com>
> Co-developed-by: Phani Burra <phani.r.burra at intel.com>
> Signed-off-by: Phani Burra <phani.r.burra at intel.com>
> Co-developed-by: Pavan Kumar Linga <pavan.kumar.linga at intel.com>
> Signed-off-by: Pavan Kumar Linga <pavan.kumar.linga at intel.com>
> Reviewed-by: Sridhar Samudrala <sridhar.samudrala at intel.com>
> Reviewed-by: Willem de Bruijn <willemb at google.com>
> ---
>  drivers/net/ethernet/intel/idpf/idpf.h        |   3 +-
>  .../net/ethernet/intel/idpf/idpf_lan_txrx.h   | 143 ++++
>  drivers/net/ethernet/intel/idpf/idpf_lib.c    |   1 +
>  drivers/net/ethernet/intel/idpf/idpf_txrx.c   | 802 ++++++++++++++++++
>  drivers/net/ethernet/intel/idpf/idpf_txrx.h   | 167 +++-
>  5 files changed, 1108 insertions(+), 8 deletions(-)
> 

Tested-by: Krishneil Singh  <krishneil.k.singh at intel.com>


More information about the Intel-wired-lan mailing list