Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1738578

Re: [PATCH net-next 2/2] net: dsa: lan9303: Add basic offloading of unicast traffic

From Egil Hjelmeland <privat@egil-hjelmeland.no>
Newsgroups linux.kernel
Subject Re: [PATCH net-next 2/2] net: dsa: lan9303: Add basic offloading of unicast traffic
Date 2017-09-25 00:10 +0200
Message-ID <utng6-5W1-27@gated-at.bofh.it> (permalink)
References (2 earlier) <usaEh-297-1@gated-at.bofh.it> <usqg1-3bE-9@gated-at.bofh.it> <usCqV-21j-89@gated-at.bofh.it> <usPo6-1qg-9@gated-at.bofh.it> <usTL3-4el-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Den 23. sep. 2017 16:31, skrev Andrew Lunn:
>> The point is: Once both external ports are in "forwarding", I see no way
>> to prevent traffic flowing directly between the external ports.
> 
> Generally, there are port vectors. Port X can send frames only to Port
> Y.
> 
> If you don't have that, there are possibilities with VLANs. Each port
> is given a unique VLAN. All incoming untagged traffic is tagged with
> the VLAN. You just need to keep the VLAN separated and add/remove the
> VLAN tag in the dsa tag driver.
> 
>       Andrew
> 
Thanks. The lan9303 has nothing like "port vectors". The port tagging
scheme is VLAN based, but is does not prevent direct forwarding between
the external ports.

In order to not break the strong port separation in the current driver;
I will stick to my solution, and only add caching of the STP state
register.

Egil

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH net-next 2/2] net: dsa: lan9303: Add basic offloading of unicast traffic Egil Hjelmeland <privat@egil-hjelmeland.no> - 2017-09-21 11:50 +0200
  Re: [PATCH net-next 2/2] net: dsa: lan9303: Add basic offloading of  unicast traffic Andrew Lunn <andrew@lunn.ch> - 2017-09-21 16:30 +0200
    Re: [PATCH net-next 2/2] net: dsa: lan9303: Add basic offloading of  unicast traffic Egil Hjelmeland <privat@egil-hjelmeland.no> - 2017-09-22 09:10 +0200
      Re: [PATCH net-next 2/2] net: dsa: lan9303: Add basic offloading of  unicast traffic Andrew Lunn <andrew@lunn.ch> - 2017-09-22 22:10 +0200
        Re: [PATCH net-next 2/2] net: dsa: lan9303: Add basic offloading of  unicast traffic Egil Hjelmeland <privat@egil-hjelmeland.no> - 2017-09-23 12:00 +0200
          Re: [PATCH net-next 2/2] net: dsa: lan9303: Add basic offloading of  unicast traffic Andrew Lunn <andrew@lunn.ch> - 2017-09-23 16:40 +0200
            Re: [PATCH net-next 2/2] net: dsa: lan9303: Add basic offloading of  unicast traffic Egil Hjelmeland <privat@egil-hjelmeland.no> - 2017-09-25 00:10 +0200
  Re: [PATCH net-next 2/2] net: dsa: lan9303: Add basic offloading of unicast traffic Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2017-09-21 16:40 +0200
    Re: [PATCH net-next 2/2] net: dsa: lan9303: Add basic offloading of  unicast traffic Egil Hjelmeland <privat@egil-hjelmeland.no> - 2017-09-22 09:30 +0200

csiph-web