OpenCloudOS-Kernel/drivers/net/ethernet/mellanox/mlx5/core
Petr Machata c40f4e50b6 net: sched: Pass qdisc reference in struct flow_block_offload
Previously, shared blocks were only relevant for the pseudo-qdiscs ingress
and clsact. Recently, a qevent facility was introduced, which allows to
bind blocks to well-defined slots of a qdisc instance. RED in particular
got two qevents: early_drop and mark. Drivers that wish to offload these
blocks will be sent the usual notification, and need to know which qdisc it
is related to.

To that end, extend flow_block_offload with a "sch" pointer, and initialize
as appropriate. This prompts changes in the indirect block facility, which
now tracks the scheduler in addition to the netdevice. Update signatures of
several functions similarly.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-07-13 17:22:21 -07:00
..
accel net/mlx5e: kTLS, Add kTLS RX HW offload support 2020-06-27 14:00:21 -07:00
diag Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux 2020-06-27 14:00:13 -07:00
en net: sched: Pass qdisc reference in struct flow_block_offload 2020-07-13 17:22:21 -07:00
en_accel net/mlx5e: fix memory leak of tls 2020-06-30 13:38:47 -07:00
esw net/mlx5: E-Switch, Fix vlan or qos setting in legacy mode 2020-07-09 19:27:05 -07:00
fpga net/mlx5: Accel: fpga tls fix cast to __be64 and incorrect argument types 2020-05-29 21:20:22 -07:00
ipoib Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-05-24 13:47:27 -07:00
lib net/mlx5e: vxlan: Return bool instead of opaque ptr in port_lookup() 2020-06-25 12:41:46 -07:00
steering net/mlx5: DR, Fix freeing in dr_create_rc_qp() 2020-06-11 15:37:53 -07:00
Kconfig net/mlx5e: kTLS, Add kTLS RX HW offload support 2020-06-27 14:00:21 -07:00
Makefile net/mlx5e: Export sharing of mod headers to a new file 2020-07-09 19:51:15 -07:00
alloc.c net/mlx5: limit the function in local scope 2020-01-07 10:40:22 -08:00
cmd.c net/mlx5: cmd: Fix memset with byte count warning 2020-05-29 21:20:21 -07:00
cq.c net/mlx5: Update cq.c to new cmd interface 2020-04-23 21:42:03 +03:00
debugfs.c net/mlx5: cmd: Fix memset with byte count warning 2020-05-29 21:20:21 -07:00
dev.c net/mlx5: Simplify mlx5_register_device to return void 2020-03-25 23:19:13 -07:00
devlink.c net/mlx5: E-switch, Supporting setting devlink port function mac address 2020-06-22 15:29:19 -07:00
devlink.h net/mlx5e: Add devlink fdb_large_groups parameter 2020-02-27 16:40:19 -08:00
ecpf.c net/mlx5: Update ecpf.c to new cmd interface 2020-04-23 21:42:04 +03:00
ecpf.h
en.h net/mlx5e: Move RQ helpers to txrx.h 2020-07-02 21:05:17 -07:00
en_arfs.c net/mlx5e: API to manipulate TTC rules destinations 2020-06-27 14:00:18 -07:00
en_common.c net/mlx5e: IPoIB, Enable loopback packets for IPoIB interfaces 2020-05-15 15:44:30 -07:00
en_dcbnl.c net/mlx5e: Fix port buffers cell size value 2020-07-09 19:27:07 -07:00
en_dim.c
en_ethtool.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-07-11 00:46:00 -07:00
en_fs.c net/mlx5e: API to manipulate TTC rules destinations 2020-06-27 14:00:18 -07:00
en_fs_ethtool.c net/mlx5: Update transobj.c new cmd interface 2020-04-23 21:42:16 +03:00
en_main.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-07-11 00:46:00 -07:00
en_rep.c devlink: Replace devlink_port_attrs_set parameters with a struct 2020-07-09 13:15:29 -07:00
en_rep.h mlx5: update indirect block support 2020-06-01 11:41:50 -07:00
en_rx.c net/mlx5e: Remove redundant RQ state query 2020-07-02 21:05:16 -07:00
en_selftest.c net/mlx5e: IPoIB, Enable loopback packets for IPoIB interfaces 2020-05-15 15:44:30 -07:00
en_stats.c net/mlx5e: kTLS, Add kTLS RX stats 2020-06-27 14:00:23 -07:00
en_stats.h net/mlx5e: kTLS, Add kTLS RX stats 2020-06-27 14:00:23 -07:00
en_tc.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-07-11 00:46:00 -07:00
en_tc.h net/mlx5e: CT: Expand tunnel register mappings 2020-07-09 19:51:16 -07:00
en_tx.c net/mlx5e: kTLS, Improve TLS feature modularity 2020-06-27 14:00:20 -07:00
en_txrx.c net/mlx5e: Turn XSK ICOSQ into a general asynchronous one 2020-06-27 14:00:16 -07:00
eq.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-05-24 13:47:27 -07:00
eswitch.c net/mlx5e: Export sharing of mod headers to a new file 2020-07-09 19:51:15 -07:00
eswitch.h net/mlx5: Avoid eswitch header inclusion in fs core layer 2020-06-27 13:50:46 -07:00
eswitch_offloads.c net/mlx5: E-switch, Introduce and use eswitch support check helper 2020-06-22 15:29:19 -07:00
eswitch_offloads_termtbl.c net/mlx5e: Add support for offloading traffic from uplink to uplink 2020-03-17 19:41:37 -07:00
events.c net/mlx5: Fix memory leak in mlx5_events_init 2020-05-22 17:28:46 -07:00
fs_cmd.c net/mlx5: Add support for RDMA TX FT headers modifying 2020-05-18 09:21:46 -07:00
fs_cmd.h net/mlx5: Add direct rule fs_cmd implementation 2019-09-03 12:54:23 -07:00
fs_core.c net/mlx5e: Receive flow steering framework for accelerated TCP flows 2020-06-27 14:00:18 -07:00
fs_core.h net/mlx5: Avoid eswitch header inclusion in fs core layer 2020-06-27 13:50:46 -07:00
fs_counters.c net/mlx5e: Replace zero-length array with flexible-array member 2020-02-19 09:13:10 +02:00
fw.c net/mlx5e: kTLS, Add kTLS RX HW offload support 2020-06-27 14:00:21 -07:00
health.c net/mlx5: Fix fatal error handling during device load 2020-06-11 15:37:51 -07:00
lag.c net/mlx5: Add support to get lag physical port 2020-05-01 12:15:38 -07:00
lag.h mlx5: register lag notifier for init network namespace only 2020-02-27 11:16:14 -08:00
lag_mp.c net/mlx5: Use a separate work queue for fib event handling 2020-03-29 23:42:20 -07:00
lag_mp.h net/mlx5: Use a separate work queue for fib event handling 2020-03-29 23:42:20 -07:00
main.c net/mlx5: Don't fail driver on failure to create debugfs 2020-06-11 15:38:06 -07:00
mcg.c net/mlx5: Update mcg.c new cmd interface 2020-04-23 21:42:11 +03:00
mlx5_core.h net/mlx5: Move internal timer read function to clock library 2020-05-15 15:44:25 -07:00
mr.c net/mlx5: Update mr.c new cmd interface 2020-04-23 21:42:12 +03:00
pagealloc.c net/mlx5: Fix a bug of releasing wrong chunks on > 4K page size systems 2020-05-15 15:44:15 -07:00
pci_irq.c
pd.c net/mlx5: Update pd.c new cmd interface 2020-04-23 21:42:13 +03:00
port.c net/mlx5: Fix eeprom support for SFP module 2020-07-09 19:27:04 -07:00
rdma.c net/mlx5: Avoid disabling RoCE when uninitialized 2019-09-01 23:44:42 -07:00
rdma.h
rl.c net/mlx5: Update rl.c new cmd interface 2020-04-23 21:42:14 +03:00
sriov.c net/mlx5: E-switch, Protect eswitch mode changes 2020-03-25 23:19:25 -07:00
transobj.c net/mlx5: Update transobj.c new cmd interface 2020-04-23 21:42:16 +03:00
uar.c net/mlx5: Update uar.c new cmd interface 2020-04-23 21:42:14 +03:00
vport.c net/mlx5: Constify mac address pointer 2020-06-22 15:29:19 -07:00
wq.c net/mlx5e: Reset RQ doorbell counter before moving RQ state from RST to RDY 2020-02-18 19:01:19 -08:00
wq.h net/mlx5e: Add helper to get the RQ WQE counter 2020-07-02 21:05:18 -07:00