lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE6JOJ8CJKyT3JnBKo_LW+OwJN9UdOrNm05f6xPOdZfurPCy_Q@mail.gmail.com>
Date:   Mon, 30 Apr 2018 00:13:50 +0530
From:   "sk.syed2" <sk.syed2@...il.com>
To:     netdev@...r.kernel.org, jayaram@...inx.com, syeds@...inx.com
Subject: Representing cpu-port of a switch

Hi,
   Sorry if this has been discussed elsewhere. The relevant discussion
is here: https://www.spinics.net/lists/netdev/msg407313.html.
  But I have few questions in addition to those answered above. We
have simple 3-port switch, with two ports(connected via phys to
external(front panel)) and one cpu port connected to the cpu via dmas.
Our switch doesn't do any tagging protocol. It simply forwards a frame
to cpu based on fdb entry. Any frame can only be received/transmitted
only by this internal port.
Without tagging, we cant really use DSA, and hide the cpu/dsa port. So
if we expose this cpu port as a interface with fixed-phy
infrastructure does it create any problems? DSA documentation says one
cannot open a socket on cpu/dsa port and send/receive traffic. Is it
fairly common to use internal/cpu port as a network interface- i.e,
creating a socket and send/receive traffic?
One problem is how to report back when network errors(like if both
front panel ports are disconnected, the expectation is to bring this
cpu port down?).
We also need to offload all the switch configuration to switch-dev. So
the question is using switch-dev without DSA and representing a cpu
port as a normal network interface would be ok?

thanks
-syed

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ