VLAN filtering in mlx5

narsimharaj pentam pnarsimharaj at gmail.com
Fri Aug 18 05:33:36 CEST 2023


Hi

We are using a mellanox mlx5 card (firmware version: 16.35.1012) with
mlx5_pci driver.  Enabled multiple ports  DPDK port 0 (internally referred
as slot 1 port 0: s1p0)  and DPDK port 1(slot 0 port 0 : s0p0). Multiple
vlans are created on each of these interfaces , s0p0.100, s0p0.101,s0p0.102
 and s0p1.200,s0p1.201,s0p1.202.

In our network we receive broadcast (ARP) and multicast(ICMPV6 for
neighbour discovery) on port 0 and port 1. At the DPDK application we are
observing the packets intended for interface s0p0.100 are  landing on other
vlan interfaces s0p0.101,sop0.102. The VLAN traffic is not segregated
accordingly.

Do we support VLAN filtering in mlx5 ?

Came across VLAN filtering "vlan_filter_set" , will this help to drop
unintended VLAN traffic ? or  Do we need to create any VLAN specific rte
flows in addition to the vlan filter set ?

If rte flows are needed what should be  rte_flow_action ?

Thanks
- Narsimha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/users/attachments/20230818/846401d9/attachment.htm>


More information about the users mailing list