linux-stable/net
Lukasz Majewski 5e5db71a92 net: dsa: tag_ksz: Extend ksz9477_xmit() for HSR frame duplication
The KSZ9477 has support for HSR (High-Availability Seamless Redundancy).
One of its offloading (i.e. performed in the switch IC hardware) features
is to duplicate received frame to both HSR aware switch ports.

To achieve this goal - the tail TAG needs to be modified. To be more
specific, both ports must be marked as destination (egress) ones.

The NETIF_F_HW_HSR_DUP flag indicates that the device supports HSR and
assures (in HSR core code) that frame is sent only once from HOST to
switch with tail tag indicating both ports.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-10-03 13:51:02 +02:00
..
6lowpan
9p net: annotate data-races around sock->ops 2023-08-09 15:32:43 -07:00
802
8021q Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-08-18 12:44:56 -07:00
appletalk net: implement lockless SO_PRIORITY 2023-10-01 19:09:54 +01:00
atm
ax25 net: implement lockless SO_PRIORITY 2023-10-01 19:09:54 +01:00
batman-adv Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-08-24 10:51:39 -07:00
bluetooth net: implement lockless SO_PRIORITY 2023-10-01 19:09:54 +01:00
bpf bpf: Prevent inlining of bpf_fentry_test7() 2023-08-30 08:36:17 +02:00
bpfilter
bridge net: bridge: use DEV_STATS_INC() 2023-09-19 13:35:15 +02:00
caif
can net: implement lockless SO_PRIORITY 2023-10-01 19:09:54 +01:00
ceph ceph: Annotate struct ceph_monmap with __counted_by 2023-09-18 10:39:29 +01:00
core net: annotate data-races around sk->sk_dst_pending_confirm 2023-10-01 19:09:54 +01:00
dcb net: dcb: choose correct policy to parse DCB_ATTR_BCN 2023-08-01 21:07:46 -07:00
dccp inet: implement lockless IP_TOS 2023-10-01 19:39:18 +01:00
devlink devlink: introduce possibility to expose info about nested devlinks 2023-09-17 14:01:47 +01:00
dns_resolver
dsa net: dsa: tag_ksz: Extend ksz9477_xmit() for HSR frame duplication 2023-10-03 13:51:02 +02:00
ethernet
ethtool ethtool: netlink: always pass genl_info to .prepare_data 2023-08-15 15:01:03 -07:00
handshake handshake: Fix sign of key_serial_t fields 2023-10-02 12:34:21 -07:00
hsr net: hsr: Add __packed to struct hsr_sup_tlv. 2023-09-18 08:26:19 +01:00
ieee802154 sysctl-6.6-rc1 2023-08-29 17:39:15 -07:00
ife
ipv4 udp_tunnel: Use flex array to simplify code 2023-10-03 11:39:34 +02:00
ipv6 ipv6: mark address parameters of udp_tunnel6_xmit_skb() as const 2023-10-03 11:48:19 +02:00
iucv
kcm kcm: Fix error handling for SOCK_DGRAM in kcm_sendmsg(). 2023-09-14 10:43:51 +02:00
key Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-08-18 12:44:56 -07:00
l2tp net: l2tp_eth: use generic dev->stats fields 2023-10-01 16:33:01 +01:00
l3mdev
lapb
llc net/llc/llc_conn.c: fix 4 instances of -Wmissing-variable-declarations 2023-08-09 15:34:28 -07:00
mac80211 wifi: cfg80211: make read-only array centers_80mhz static const 2023-09-20 11:52:13 +01:00
mac802154
mctp
mpls networking: Update to register_net_sysctl_sz 2023-08-15 15:26:18 -07:00
mptcp inet: implement lockless IP_TOS 2023-10-01 19:39:18 +01:00
ncsi ncsi: Propagate carrier gain/loss events to the NCSI controller 2023-09-18 07:06:05 +01:00
netfilter inet: implement lockless IP_MTU_DISCOVER 2023-10-01 19:39:18 +01:00
netlabel netlabel: Remove unused declaration netlbl_cipsov4_doi_free() 2023-08-02 12:28:22 -07:00
netlink genetlink: add a family pointer to struct genl_info 2023-08-15 15:01:03 -07:00
netrom net: implement lockless SO_PRIORITY 2023-10-01 19:09:54 +01:00
nfc TTY/Serial driver changes for 6.6-rc1 2023-09-01 09:38:00 -07:00
nsh
openvswitch net: openvswitch: Annotate struct dp_meter with __counted_by 2023-10-02 11:24:55 -07:00
packet Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-08-10 14:10:53 -07:00
phonet
psample
qrtr
rds net: rds: Fix possible NULL-pointer dereference 2023-09-20 08:49:03 +01:00
rfkill
rose net: implement lockless SO_PRIORITY 2023-10-01 19:09:54 +01:00
rxrpc
sched net: implement lockless SO_MAX_PACING_RATE 2023-10-01 19:09:54 +01:00
sctp inet: implement lockless IP_TOS 2023-10-01 19:39:18 +01:00
smc net: implement lockless SO_PRIORITY 2023-10-01 19:09:54 +01:00
strparser
sunrpc NFSv4.1: fix pnfs MDS=DS session trunking 2023-09-13 11:51:11 -04:00
switchdev
tipc tipc: Use size_add() in calls to struct_size() 2023-09-18 09:38:32 +01:00
tls tls: Use size_add() in call to struct_size() 2023-09-18 09:37:23 +01:00
unix Including fixes from netfilter and bpf. 2023-09-07 18:33:07 -07:00
vmw_vsock vsock/virtio: MSG_ZEROCOPY flag support 2023-09-21 12:34:00 +02:00
wireless wifi: nl80211: Remove unused declaration nl80211_pmsr_dump_results() 2023-08-22 21:40:40 +02:00
x25 net: implement lockless SO_PRIORITY 2023-10-01 19:09:54 +01:00
xdp net: implement lockless SO_PRIORITY 2023-10-01 19:09:54 +01:00
xfrm net: dst: remove unnecessary input parameter in dst_alloc and dst_init 2023-09-12 11:42:25 +02:00
compat.c
devres.c
Kconfig
Kconfig.debug
Makefile
socket.c Including fixes from netfilter and bpf. 2023-09-07 18:33:07 -07:00
sysctl_net.c sysctl: Add size to register_net_sysctl function 2023-08-15 15:26:17 -07:00