Commit 30576465 authored by Maciej Fijalkowski's avatar Maciej Fijalkowski Committed by Greg Kroah-Hartman
Browse files

ice: Use ice_max_xdp_frame_size() in ice_xdp_setup_prog()



[ Upstream commit 60bc72b3 ]

This should have been used in there from day 1, let us address that
before introducing XDP multi-buffer support for Rx side.

Signed-off-by: default avatarMaciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Reviewed-by: default avatarAlexander Lobakin <alexandr.lobakin@intel.com>
Link: https://lore.kernel.org/bpf/20230131204506.219292-8-maciej.fijalkowski@intel.com


Stable-dep-of: 04c7e14e ("ice: do not bring the VSI up, if it was down before the XDP setup")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 13a6e5d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment