Re: [PATCH net-next 0/2] net: ethtool add VxLAN to the NFC API

From: Samudrala, Sridhar
Date: Mon Aug 22 2022 - 11:48:27 EST


On 8/22/2022 9:46 AM, huangguangbin (A) wrote:


On 2022/8/18 2:16, Jakub Kicinski wrote:
On Wed, 17 Aug 2022 22:35:36 +0800 Guangbin Huang wrote:
This series adds support for steering VxLAN flows using the ethtool NFC
interface, and implements it for hns3 devices.

Why can't TC be used for this? Let's not duplicate the same
functionality in two places, TC flower can already match on
tunnel headers.
.

Hi Jakub,
1. I check the manual and implement of TC flower, it doesn't seems
   to support configuring flows steering to a specific queue.

Based on the discussion in this email thread
  https://lore.kernel.org/netdev/20220429171717.5b0b2a81@xxxxxxxxxx/
Amritha will be submitting a patch series soon to enable redirecting to a RX qeueue
via  tc flower using skbedit queue_mapping action offload.

- Sridhar