linux/drivers/net/ethernet
Ido Schimmel 2dcbd9207b mlxsw: spectrum_span: Add SPAN probability rate support
Currently, every packet that matches a mirroring trigger (e.g., received
packets, buffer dropped packets) is mirrored. Spectrum-2 and later ASICs
support mirroring with probability, where every 1 in N matched packets
is mirrored.

Extend the API that creates the binding between the trigger and the SPAN
agent with a probability rate parameter, which is an attribute of the
trigger. Set it to '1' to maintain existing behavior.

Subsequent patches will use it to perform more sophisticated sampling,
by mirroring packets to the CPU with probability.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-03-11 16:22:39 -08:00
..
3com net: 3c509: Fix fall-through warnings for Clang 2021-03-10 12:45:15 -08:00
8390
adaptec
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-02-10 13:30:12 -08:00
amd Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-02-16 17:51:13 -08:00
apm
apple
aquantia net: ethernet: aquantia: Handle error cleanup of start on open 2021-02-11 14:38:06 -08:00
arc
atheros ethernet: alx: fix order of calls on resume 2021-03-05 15:05:33 -08:00
broadcom net: broadcom: bcm4908_enet: read MAC from OF 2021-03-10 12:45:15 -08:00
brocade
cadence net: macb: Add default usrio config to default gem config 2021-03-03 16:53:45 -08:00
calxeda
cavium net/ethernet: convert to use module_platform_driver in octeon_mgmt.c 2021-01-29 19:02:43 -08:00
chelsio net: ethernet: chelsiofix: spelling typo of 'rewriteing' 2021-03-10 12:45:14 -08:00
cirrus
cisco net: remove ndo_udp_tunnel_* callbacks 2021-01-07 12:53:29 -08:00
cortina
davicom net: davicom: Use platform_get_irq_optional() 2021-03-08 12:01:58 -08:00
dec
dlink
emulex net: remove ndo_udp_tunnel_* callbacks 2021-01-07 12:53:29 -08:00
ezchip
faraday
freescale staging: dpaa2-switch: move the driver out of staging 2021-03-10 13:30:36 -08:00
fujitsu
google
hisilicon net: hns3: use pause capability queried from firmware 2021-03-11 16:01:10 -08:00
huawei
i825xx drivers: net: ethernet: i825xx: Fix couple of spellings in the file ether1.c 2021-02-04 19:07:55 -08:00
ibm Merge git://git.kernel.org:/pub/scm/linux/kernel/git/netdev/net 2021-03-09 17:15:56 -08:00
intel net: add a helper to avoid issues with HW TX timestamping and SO_TXTIME 2021-03-10 12:45:16 -08:00
marvell octeontx2-af: cn10k: fix an array overflow in is_lmac_valid() 2021-03-03 08:44:24 -08:00
mediatek net: ethernet: mtk-star-emac: fix wrong unmap in RX handling 2021-03-02 15:28:07 -08:00
mellanox mlxsw: spectrum_span: Add SPAN probability rate support 2021-03-11 16:22:39 -08:00
micrel net: ks8851: remove definition of DEBUG 2021-01-15 17:53:29 -08:00
microchip lan743x: trim all 4 bytes of the FCS; not just 2 2021-03-05 14:42:55 -08:00
moxa
mscc net: mscc: ocelot: Fix fall-through warnings for Clang 2021-03-10 12:45:15 -08:00
myricom
natsemi
neterion
netronome bpf: Rename BPF_XADD and prepare to encode other atomics in .imm 2021-01-14 18:34:29 -08:00
ni
nvidia
nxp
oki-semi
packetengines
pasemi
pensando ionic: simplify use of completion types 2021-03-10 15:34:28 -08:00
qlogic qed: Fix fall-through warnings for Clang 2021-03-10 12:45:15 -08:00
qualcomm net: qualcomm: rmnet: Fix rx_handler for non-linear skbs 2021-02-06 11:28:45 -08:00
rdc
realtek r8169: fix r8168fp_adjust_ocp_cmd function 2021-03-05 13:00:38 -08:00
renesas sh_eth: fix TRSCER mask for R7S9210 2021-03-01 13:22:34 -08:00
rocker net: switchdev: pass flags and mask to both {PRE_,}BRIDGE_FLAGS attributes 2021-02-12 17:08:04 -08:00
samsung net: phy: rename PHY_IGNORE_INTERRUPT to PHY_MAC_INTERRUPT 2021-02-15 15:20:49 -08:00
seeq
sfc sfc: reduce the number of requested xdp ev queues 2021-01-22 19:16:45 -08:00
sgi
silan
sis
smsc net: smsc911x: Make Runtime PM handling more fine-grained 2021-01-19 17:46:39 -08:00
socionext net, xdp: Introduce xdp_prepare_buff utility routine 2021-01-08 13:39:24 -08:00
stmicro stmmac: intel: Fixes clock registration error seen for multiple interfaces 2021-03-05 12:59:32 -08:00
sun net: cassini: Fix fall-through warnings for Clang 2021-03-10 12:45:15 -08:00
synopsys net: dwc-xlgmac: Fix spelling mistake in function name 2021-02-06 11:37:01 -08:00
tehuti net: tehuti: fix error return code in bdx_probe() 2021-03-05 12:59:32 -08:00
ti Devicetree updates for v5.12: 2021-02-22 10:05:12 -08:00
toshiba net: ethernet: toshiba: spider_net: Document a whole bunch of function parameters 2021-01-16 18:13:28 -08:00
tundra
via
wiznet
xilinx Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-02-16 17:51:13 -08:00
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig net: remove aurora nb8800 driver 2021-01-21 19:48:38 -08:00
korina.c
lantiq_etop.c
lantiq_xrx200.c
Makefile net: remove aurora nb8800 driver 2021-01-21 19:48:38 -08:00