diff options
author | David S. Miller <davem@davemloft.net> | 2018-05-24 23:10:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-24 23:10:57 -0400 |
commit | 9c5904904b8844edb3ce8f8185b55c8e268b9e18 (patch) | |
tree | 50e704d8844f8b1766f28fe085f7d588927dc29f /net/bridge/br_sysfs_if.c | |
parent | d97cde6ab547a8115fb4fae73f030a96519ac3c6 (diff) | |
parent | 7e24a59311ea4a92c38f76756496b06293c50afb (diff) | |
download | linux-stable-9c5904904b8844edb3ce8f8185b55c8e268b9e18.tar.gz linux-stable-9c5904904b8844edb3ce8f8185b55c8e268b9e18.tar.bz2 linux-stable-9c5904904b8844edb3ce8f8185b55c8e268b9e18.zip |
Merge branch 'nfp-offload-LAG-for-tc-flower-egress'
Jakub Kicinski says:
====================
nfp: offload LAG for tc flower egress
This series from John adds bond offload to the nfp driver. Patch 5
exposes the hash type for NETDEV_LAG_TX_TYPE_HASH to make sure nfp
hashing matches that of the software LAG. This may be unnecessarily
conservative, let's see what LAG maintainers think :)
John says:
This patchset sets up the infrastructure and offloads output actions for
when a TC flower rule attempts to egress a packet to a LAG port.
Firstly it adds some of the infrastructure required to the flower app and
to the nfp core. This includes the ability to change the MAC address of a
repr, a function for combining lookup and write to a FW symbol, and the
addition of private data to a repr on a per app basis.
Patch 6 continues by implementing notifiers that track Linux bonds and
communicates to the FW those which enslave reprs, along with the current
state of reprs within the bond.
Patch 7 ensures bonds are synchronised with FW by receiving and acting
upon cmsgs sent to the kernel. These may request that a bond message is
retransmitted when FW can process it, or may request a full sync of the
bonds defined in the kernel.
Patch 8 offloads a flower action when that action requires egressing to a
pre-defined Linux bond.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_sysfs_if.c')
0 files changed, 0 insertions, 0 deletions