Skip to contentSkip to conversation

mlx4_core: Managing common port

PATCH Yevgeny Petrilin 2 participants 2 messages Feb 16, 2010 – Feb 17, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
Quoted 10 lines · On Sunday -10,January,-28163 09:59 PM, Or Gerlitz [[email protected]] wrote:
Quoted 5 lines · Yevgeny Petrilin

On Sunday -10,January,-28163 09:59 PM, Or Gerlitz [[email protected]] wrote:

The multicast bloom filter is a false-positive filter per port. All multicast packets go through the Multicast tables mechanism where every PF/VF is registered for every multicast address

okay, so the bloom filter is going and exact match is coming, understood.

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

As for the false-positive vlan filter, I understand that this means
further filtering has to be applied by some driver. Where you thinking on the 802q driver? what about the case where a VF driver is assigned a vlan, does the mlx4 VF code does filtering?

The deal with the VLAN filter is similar, it includes all VIDs that some PF/VF requested.

So for a given VID, a unicast packet carrying it will be dispatched to all the PFs/VFs which have registered this VID? I guess this isn't the case, so please elaborate.

No, this is not the case. My statement says that the VLAN filter became false positive as well. Dispatching of packet is done by its destination Mac and not VID.
We will add support for dispatching packets by Mac+VID soon.

Quoted 4 lines
Quoted 2 lines

We plan to add a MAC+VLAN filter implementation, that would cancel the need in this filter.

I'm still not clear in what level you expect the software filtering to happen

HW filtering, the SW configures the filter.

Yevgeny

#1 lore raw
Quoted 1 line · Yevgeny Petrilin

HW filtering, the SW configures the filter.

I understand that at some point you plan to move to HW filter, so maybe to rephrase the
question: is this patch set applicable without the HW filter in place? if yes, I understood you
were planning on software filtering and wondered in what level its expected to happen.

Or.