aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@mellanox.com>2017-12-31 15:50:13 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2018-07-26 15:23:53 -0700
commita26a5bdf3ee2da419ba2c2baa54f467103dc8cc5 (patch)
tree339dbae79b4dcceba6e2f26710f5dc64a7599412 /tools
parent0ec13877ce95c00737ff4f71a96cd90533b12b48 (diff)
net/mlx5e: Restrict the combination of large MTU and XDP
Add checks in control path upon an MTU change or an XDP program set, to prevent reaching cases where large MTU and XDP are set simultaneously. This is to make sure we allow XDP only with the linear RX memory scheme, i.e. a received packet is not scattered to different pages. Change mlx5e_rx_get_linear_frag_sz() accordingly, so that we make sure the XDP configuration can really be set, instead of assuming that it is. Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions