All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mateusz Polchlopek <mateusz.polchlopek@intel.com>
To: Lorenzo Bianconi <lorenzo@kernel.org>,
	Felix Fietkau <nbd@nbd.name>,
	"Sean Wang" <sean.wang@mediatek.com>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	"Jakub Kicinski" <kuba@kernel.org>,
	Paolo Abeni <pabeni@redhat.com>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>
Cc: <linux-arm-kernel@lists.infradead.org>,
	<linux-mediatek@lists.infradead.org>, <netdev@vger.kernel.org>
Subject: Re: [PATCH net-next 2/2] net: airoha: Enable TSO/Scatter Gather for LAN port
Date: Wed, 12 Feb 2025 09:23:46 +0100	[thread overview]
Message-ID: <8b3472b1-0697-40ba-b2f9-a1ad100f9177@intel.com> (raw)
In-Reply-To: <20250212-airoha-fix-tso-v1-2-1652558a79b4@kernel.org>



On 2/12/2025 7:51 AM, Lorenzo Bianconi wrote:
> Set net_device vlan_features in order to enable TSO and Scatter Gather
> for DSA user ports.
> 
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
> ---
>   drivers/net/ethernet/mediatek/airoha_eth.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/net/ethernet/mediatek/airoha_eth.c b/drivers/net/ethernet/mediatek/airoha_eth.c
> index aa5f220ddbcf9ca5bee1173114294cb3aec701c9..321e5d15198c5ec6a0764be418aa447e8d9e4512 100644
> --- a/drivers/net/ethernet/mediatek/airoha_eth.c
> +++ b/drivers/net/ethernet/mediatek/airoha_eth.c
> @@ -3188,6 +3188,7 @@ static int airoha_alloc_gdm_port(struct airoha_eth *eth, struct device_node *np)
>   			   NETIF_F_SG | NETIF_F_TSO |
>   			   NETIF_F_HW_TC;
>   	dev->features |= dev->hw_features;
> +	dev->vlan_features = dev->hw_features;
>   	dev->dev.of_node = np;
>   	dev->irq = qdma->irq;
>   	SET_NETDEV_DEV(dev, eth->dev);
> 

Reviewed-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com>



  reply	other threads:[~2025-02-12  8:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-12  6:51 [PATCH net-next 0/2] Enable TSO for DSA ports on Airoha EN7581 SoC Lorenzo Bianconi
2025-02-12  6:51 ` [PATCH net-next 1/2] net: airoha: Fix TSO support for header cloned skbs Lorenzo Bianconi
2025-02-12  8:20   ` Mateusz Polchlopek
2025-02-12  6:51 ` [PATCH net-next 2/2] net: airoha: Enable TSO/Scatter Gather for LAN port Lorenzo Bianconi
2025-02-12  8:23   ` Mateusz Polchlopek [this message]
2025-02-12 10:03 ` [PATCH net-next 0/2] Enable TSO for DSA ports on Airoha EN7581 SoC Lorenzo Bianconi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8b3472b1-0697-40ba-b2f9-a1ad100f9177@intel.com \
    --to=mateusz.polchlopek@intel.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=lorenzo@kernel.org \
    --cc=matthias.bgg@gmail.com \
    --cc=nbd@nbd.name \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=sean.wang@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.