summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/resources.h
diff options
context:
space:
mode:
authorDavid S. Miller2017-03-24 21:45:07 +0100
committerDavid S. Miller2017-03-24 21:45:07 +0100
commitba82427d4a0fdd92b01cb2a1c4c24990f37406a9 (patch)
treef482723e5448c72b606a85b998307eb203a6bf1b /drivers/net/ethernet/mellanox/mlxsw/resources.h
parentnet: mpls: Fix setting ttl_propagate for rt2 (diff)
parenti40e: make use of hlist_for_each_entry_continue (diff)
downloadkernel-qcow2-linux-ba82427d4a0fdd92b01cb2a1c4c24990f37406a9.tar.gz
kernel-qcow2-linux-ba82427d4a0fdd92b01cb2a1c4c24990f37406a9.tar.xz
kernel-qcow2-linux-ba82427d4a0fdd92b01cb2a1c4c24990f37406a9.zip
Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue
Jeff Kirsher says: ==================== 40GbE Intel Wired LAN Driver Updates 2017-03-23 This series contains updates to i40e and i40e.txt documentation. Jake provides all the changes in the series which are centered around ntuple filter fixes and additional support. Fixed the current implementation of .set_rxnfc, where we were not reading the mask field for filter entries which was resulting in filters not behaving as expected and not working correctly. When cleaning up after disabling flow director support, ensure that the default input set is correctly reprogrammed. Since the hardware only supports a single input set for all flows of that type, the driver shall only allow the input set to change if there are no other configured filters for that flow type, so add support to detect when we can update the input set for each flow type. Align the driver to other drivers to partition the ring_cookie value into 8bits of VF index, along with 32bits of queue number instead of using the user-def field. Added support to parse the user-def field into a data structure format to allow future extensions of the user-def filed by keeping all the code that read/writes the field into a single location. Added support for flexible payloads passed via ethtool user-def field. We support a single flexible word (2byte) value per protocol type, and we handle the FLX_PIT register using a list of flexible entries so that each flow type may be configured separately. Enabled flow director filters for SCTPv4 packets using the ethtool ntuple interface to enable filters. Updated the documentation on the i40e driver to include the newly added support to ntuple filters. Reduced complexity of a if-continue-else-break section of code by taking advantage of using hlist_for_each_entry_continue() instead. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/resources.h')
0 files changed, 0 insertions, 0 deletions