1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/mellanox/mlx5/core
Linus Torvalds fa2e1ba3e9 Networking fixes for 5.17-rc1, including fixes from netfilter, bpf.
Current release - regressions:
 
  - fix memory leaks in the skb free deferral scheme if upper layer
    protocols are used, i.e. in-kernel TCP readers like TLS
 
 Current release - new code bugs:
 
  - nf_tables: fix NULL check typo in _clone() functions
 
  - change the default to y for Vertexcom vendor Kconfig
 
  - a couple of fixes to incorrect uses of ref tracking
 
  - two fixes for constifying netdev->dev_addr
 
 Previous releases - regressions:
 
  - bpf:
    - various verifier fixes mainly around register offset handling
      when passed to helper functions
    - fix mount source displayed for bpffs (none -> bpffs)
 
  - bonding:
    - fix extraction of ports for connection hash calculation
    - fix bond_xmit_broadcast return value when some devices are down
 
  - phy: marvell: add Marvell specific PHY loopback
 
  - sch_api: don't skip qdisc attach on ingress, prevent ref leak
 
  - htb: restore minimal packet size handling in rate control
 
  - sfp: fix high power modules without diagnostic monitoring
 
  - mscc: ocelot:
    - don't let phylink re-enable TX PAUSE on the NPI port
    - don't dereference NULL pointers with shared tc filters
 
  - smsc95xx: correct reset handling for LAN9514
 
  - cpsw: avoid alignment faults by taking NET_IP_ALIGN into account
 
  - phy: micrel: use kszphy_suspend/_resume for irq aware devices,
    avoid races with the interrupt
 
 Previous releases - always broken:
 
  - xdp: check prog type before updating BPF link
 
  - smc: resolve various races around abnormal connection termination
 
  - sit: allow encapsulated IPv6 traffic to be delivered locally
 
  - axienet: fix init/reset handling, add missing barriers,
    read the right status words, stop queues correctly
 
  - add missing dev_put() in sock_timestamping_bind_phc()
 
 Misc:
 
  - ipv4: prevent accidentally passing RTO_ONLINK to
    ip_route_output_key_hash() by sanitizing flags
 
  - ipv4: avoid quadratic behavior in netns dismantle
 
  - stmmac: dwmac-oxnas: add support for OX810SE
 
  - fsl: xgmac_mdio: add workaround for erratum A-009885
 
 Signed-off-by: Jakub Kicinski <kuba@kernel.org>
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE6jPA+I1ugmIBA4hXMUZtbf5SIrsFAmHoS14ACgkQMUZtbf5S
 IrtMQA/6AxhWuj2JsoNhvTzBCi4vkeo53rKU941bxOaST9Ow8dqDc7yAT8YeJU2B
 lGw6/pXx+Fm9twGsRkkQ0vX7piIk25vKzEwnlCYVVXLAnE+lPu9qFH49X1HO5Fwy
 K+frGDC524MrbJFb+UbZfJG4UitsyHoqc58Mp7ZNBe2gn12DcHotsiSJikzdd02F
 rzQZhvwRKsDS2prcIHdvVAxva380cn99mvaFqIPR9MemhWKOzVa3NfkiC3tSlhW/
 OphG3UuOfKCVdofYAO5/oXlVQcDKx0OD9Sr2q8aO0mlME0p0ounKz+LDcwkofaYQ
 pGeMY2pEAHujLyRewunrfaPv8/SIB/ulSPcyreoF28TTN20M+4onvgTHvVSyzLl7
 MA4kYH7tkPgOfbW8T573OFPdrqsy4WTrFPFovGqvDuiE8h65Pll/gTcAqsWjF/xw
 CmfmtICcsBwVGMLUzpUjKAWuB0/voa/sQUuQoxvQFsgCteuslm1suLY5EfSIhdu8
 nvhySJjPXRHicZQNflIwKTiOYYWls7yYVGe76u9hqjyD36peJXYjUjyyENIfLiFA
 0XclGIfSBMGWMGmxvGYIZDwGOKK0j+s0PipliXVjP2otLrPYUjma5Co37KW8SiSV
 9TT673FAXJNB0IJ7xiT7nRUZ/fjRrweP1glte/6d148J1Lf9MTQ=
 =XM4Y
 -----END PGP SIGNATURE-----

Merge tag 'net-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net

Pull networking fixes from Jakub Kicinski:
 "Including fixes from netfilter, bpf.

  Quite a handful of old regression fixes but most of those are
  pre-5.16.

  Current release - regressions:

   - fix memory leaks in the skb free deferral scheme if upper layer
     protocols are used, i.e. in-kernel TCP readers like TLS

  Current release - new code bugs:

   - nf_tables: fix NULL check typo in _clone() functions

   - change the default to y for Vertexcom vendor Kconfig

   - a couple of fixes to incorrect uses of ref tracking

   - two fixes for constifying netdev->dev_addr

  Previous releases - regressions:

   - bpf:
      - various verifier fixes mainly around register offset handling
        when passed to helper functions
      - fix mount source displayed for bpffs (none -> bpffs)

   - bonding:
      - fix extraction of ports for connection hash calculation
      - fix bond_xmit_broadcast return value when some devices are down

   - phy: marvell: add Marvell specific PHY loopback

   - sch_api: don't skip qdisc attach on ingress, prevent ref leak

   - htb: restore minimal packet size handling in rate control

   - sfp: fix high power modules without diagnostic monitoring

   - mscc: ocelot:
      - don't let phylink re-enable TX PAUSE on the NPI port
      - don't dereference NULL pointers with shared tc filters

   - smsc95xx: correct reset handling for LAN9514

   - cpsw: avoid alignment faults by taking NET_IP_ALIGN into account

   - phy: micrel: use kszphy_suspend/_resume for irq aware devices,
     avoid races with the interrupt

  Previous releases - always broken:

   - xdp: check prog type before updating BPF link

   - smc: resolve various races around abnormal connection termination

   - sit: allow encapsulated IPv6 traffic to be delivered locally

   - axienet: fix init/reset handling, add missing barriers, read the
     right status words, stop queues correctly

   - add missing dev_put() in sock_timestamping_bind_phc()

  Misc:

   - ipv4: prevent accidentally passing RTO_ONLINK to
     ip_route_output_key_hash() by sanitizing flags

   - ipv4: avoid quadratic behavior in netns dismantle

   - stmmac: dwmac-oxnas: add support for OX810SE

   - fsl: xgmac_mdio: add workaround for erratum A-009885"

* tag 'net-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (92 commits)
  ipv4: add net_hash_mix() dispersion to fib_info_laddrhash keys
  ipv4: avoid quadratic behavior in netns dismantle
  net/fsl: xgmac_mdio: Fix incorrect iounmap when removing module
  powerpc/fsl/dts: Enable WA for erratum A-009885 on fman3l MDIO buses
  dt-bindings: net: Document fsl,erratum-a009885
  net/fsl: xgmac_mdio: Add workaround for erratum A-009885
  net: mscc: ocelot: fix using match before it is set
  net: phy: micrel: use kszphy_suspend()/kszphy_resume for irq aware devices
  net: cpsw: avoid alignment faults by taking NET_IP_ALIGN into account
  nfc: llcp: fix NULL error pointer dereference on sendmsg() after failed bind()
  net: axienet: increase default TX ring size to 128
  net: axienet: fix for TX busy handling
  net: axienet: fix number of TX ring slots for available check
  net: axienet: Fix TX ring slot available check
  net: axienet: limit minimum TX ring size
  net: axienet: add missing memory barriers
  net: axienet: reset core on initialization prior to MDIO access
  net: axienet: Wait for PhyRstCmplt after core reset
  net: axienet: increase reset timeout
  bpf, selftests: Add ringbuf memory type confusion test
  ...
2022-01-20 10:57:05 +02:00
..
accel
diag Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux into net-next 2021-10-27 21:33:28 -07:00
en mlx5: Don't accidentally set RTO_ONLINK before mlx5e_route_lookup_ipv4_get() 2022-01-11 20:36:09 -08:00
en_accel net/mlx5e: Use dynamic per-channel allocations in stats 2021-12-21 19:08:57 -08:00
esw net/mlx5e: Unblock setting vid 0 for VF in case PF isn't eswitch manager 2022-01-06 16:22:53 -08:00
fpga RDMA/mlx5: Replace struct mlx5_core_mkey by u32 key 2021-10-19 14:34:12 +03:00
ipoib net/mlx5e: Use dynamic per-channel allocations in stats 2021-12-21 19:08:57 -08:00
lag net/mlx5e: Don't block routes with nexthop objects in SW 2022-01-06 16:55:40 -08:00
lib net/mlx5: Fix tc max supported prio for nic mode 2021-12-22 20:38:47 -08:00
sf Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-01-09 17:00:17 -08:00
steering net/mlx5: DR, Ignore modify TTL if device doesn't support it 2021-12-31 00:17:41 -08:00
alloc.c net/mlx5: Use dma device access helper 2020-09-30 21:26:30 -07:00
cmd.c Revert "net/mlx5: Add retry mechanism to the command entry index allocation" 2022-01-06 16:55:42 -08:00
cq.c net/mlx5e: nullify cq->dbg pointer in mlx5_debug_cq_remove() 2021-11-16 12:20:19 -08:00
debugfs.c net/mlx5e: nullify cq->dbg pointer in mlx5_debug_cq_remove() 2021-11-16 12:20:19 -08:00
dev.c net/mlx5: CT: Set flow source hint from provided tuple device 2022-01-04 12:12:56 +00:00
devlink.c net/mlx5: Let user configure max_macs generic param 2021-12-21 19:08:55 -08:00
devlink.h net/mlx5: remove the recent devlink params 2021-10-26 10:18:32 -07:00
ecpf.c net/mlx5: Enable host PF HCA after eswitch is initialized 2020-11-26 18:45:03 -08:00
ecpf.h net/mlx5: Enable host PF HCA after eswitch is initialized 2020-11-26 18:45:03 -08:00
en.h net/mlx5e: Fix feature check per profile 2022-01-06 16:22:54 -08:00
en_arfs.c net/mlx5e: Use dynamic per-channel allocations in stats 2021-12-21 19:08:57 -08:00
en_common.c RDMA/mlx5: Replace struct mlx5_core_mkey by u32 key 2021-10-19 14:34:12 +03:00
en_dcbnl.c net/mlx5e: Cleanup safe switch channels API by passing params 2021-04-16 11:48:20 -07:00
en_dim.c
en_ethtool.c net/mlx5e: Refactor set_pflag_cqe_based_moder 2022-01-06 16:22:54 -08:00
en_fs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-10-22 11:41:16 +01:00
en_fs_ethtool.c net/mlx5e: Rename TIR lro functions to TIR packet merge functions 2021-10-26 19:30:39 -07:00
en_main.c driver core changes for 5.17-rc1 2022-01-12 11:11:34 -08:00
en_rep.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-01-09 17:00:17 -08:00
en_rep.h net/mlx5: E-Switch, Add ovs internal port mapping to metadata support 2021-10-29 13:53:29 -07:00
en_rx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-01-09 17:00:17 -08:00
en_selftest.c net/mlx5e: loopback test is not supported in switchdev mode 2021-09-24 11:46:55 -07:00
en_stats.c net/mlx5e: Fix build error in fec_set_block_stats() 2022-01-09 16:29:55 -08:00
en_stats.h net/mlx5e: Add HW_GRO statistics 2021-10-26 19:30:41 -07:00
en_tc.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-01-09 17:00:17 -08:00
en_tc.h net/mlx5e: Add goto to tc action infra 2021-12-14 21:29:41 -08:00
en_tx.c net/mlx5e: IPsec: Refactor checksum code in tx data path 2021-10-29 13:53:28 -07:00
en_txrx.c net/mlx5e: kTLS, Add resiliency to RX resync failures 2021-04-16 11:48:08 -07:00
eq.c net/mlx5: SF, Use all available cpu for setting cpu affinity 2022-01-06 16:22:52 -08:00
eswitch.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-11-18 13:13:16 -08:00
eswitch.h net/mlx5: Remove the repeated declaration 2021-12-21 19:08:56 -08:00
eswitch_offloads.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-01-09 17:00:17 -08:00
eswitch_offloads_termtbl.c net/mlx5e: Term table handling of internal port rules 2021-10-29 13:53:31 -07:00
events.c net/mlx5: Fix typo in comments 2021-08-11 11:14:30 -07:00
fs_cmd.c net/mlx5: DR, Add support for UPLINK destination type 2021-12-31 00:17:17 -08:00
fs_cmd.h net/mlx5: Add support to create match definer 2021-10-18 20:18:07 -07:00
fs_core.c net/mlx5: Set SMFS as a default steering mode if device supports it 2021-12-31 00:17:44 -08:00
fs_core.h net/mlx5: Add misc5 flow table match parameters 2021-12-31 00:17:23 -08:00
fs_counters.c net/mlx5: Dynamically resize flow counters query buffer 2021-12-02 16:53:16 -08:00
fs_ft_pool.c net/mlx5: check for allocation failure in mlx5_ft_pool_init() 2021-06-03 13:10:17 -07:00
fs_ft_pool.h net/mlx5: Move chains ft pool to be used by all firmware steering 2021-05-27 11:54:38 -07:00
fw.c net/mlx5: Add SHAMPO caps, HW bits and enumerations 2021-10-26 19:30:39 -07:00
fw_reset.c mlx5: prevent 64bit divide 2021-10-18 12:03:04 -07:00
fw_reset.h net/mlx5: Add devlink param enable_remote_dev_reset support 2020-10-09 12:06:53 -07:00
health.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-12-02 11:44:56 -08:00
irq_affinity.c net/mlx5: SF, Use all available cpu for setting cpu affinity 2022-01-06 16:22:52 -08:00
Kconfig mlx5: fix psample_sample_packet link error 2021-12-02 16:53:07 -08:00
main.c net/mlx5: Update log_max_qp value to FW max capability 2022-01-06 16:22:52 -08:00
Makefile net/mlx5: Split irq_pool_affinity logic to new file 2022-01-06 16:22:51 -08:00
mcg.c
mlx5_core.h net/mlx5: CT: Set flow source hint from provided tuple device 2022-01-04 12:12:56 +00:00
mlx5_irq.h net/mlx5: SF, Use all available cpu for setting cpu affinity 2022-01-06 16:22:52 -08:00
mr.c RDMA/mlx5: Replace struct mlx5_core_mkey by u32 key 2021-10-19 14:34:12 +03:00
pagealloc.c net/mlx5: Read timeout values from DTOR 2021-10-15 17:37:43 -07:00
pci_irq.c Updates for the interrupt subsystem: 2022-01-13 08:53:45 -08:00
pci_irq.h net/mlx5: SF, Use all available cpu for setting cpu affinity 2022-01-06 16:22:52 -08:00
pd.c
port.c net/mlx5: Add support for DSFP module EEPROM dumps 2021-04-11 16:34:56 -07:00
qos.c net/mlx5e: Support HTB offload 2021-01-22 20:41:29 -08:00
qos.h net/mlx5e: Support HTB offload 2021-01-22 20:41:29 -08:00
rdma.c net/mlx5: Consider RoCE cap before init RDMA resources 2021-06-09 17:20:04 -07:00
rdma.h
rl.c net/mlx5: Pair mutex_destory with mutex_init for rate limit table 2021-04-02 16:13:06 -07:00
sriov.c net/mlx5: Introduce API for request and release IRQs 2021-06-14 20:57:57 -07:00
transobj.c net/mlx5e: Fix page reclaim for dead peer hairpin 2021-06-09 17:20:03 -07:00
uar.c IB/mlx5: Enable UAR to have DevX UID 2021-09-28 18:31:21 +03:00
vport.c net/mlx5: Check return status first when querying system_image_guid 2021-10-15 17:37:46 -07:00
wq.c net/mlx5: Use order-0 allocations for EQs 2021-03-12 13:07:46 -08:00
wq.h