Skip to content

Commit b4a633a

Browse files
committed
xdp-trafficgen: Drop "the driver is missing support in this kernel version" text
The "Most likely the driver is missing support in this kernel version" may not always be true (for instance because the support is just disabled), so let's drop it from the check_iface_support() function. Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
1 parent 756101c commit b4a633a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

xdp-trafficgen/xdp-trafficgen.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,7 @@ static int check_iface_support(const struct iface *iface)
108108
"Continuing anyway, but running may fail!\n",
109109
iface->ifname, -err);
110110
} else if (!(feature_flags & NETDEV_XDP_ACT_NDO_XMIT)) {
111-
pr_warn("Interface %s does not support sending packets via XDP.\n"
112-
"Most likely the driver is missing support in this kernel version.\n",
111+
pr_warn("Interface %s does not support sending packets via XDP.\n",
113112
iface->ifname);
114113
return -EOPNOTSUPP;
115114
}

0 commit comments

Comments
 (0)