Skip to content

RFC ndo_bpf error reporting

Stephen Hemminger netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest0 of 7 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 7 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/7] ndo_bpf error reporting

Several drivers are logging errors to console rather than using xdp->extack to report problems. Try and make user experience consistent.

Note: these patches are RFC because compile tested only.

Stephen Hemminger (6):
bnxt: use extack for xdp error messages
ixgbe: use extack for xdp errors
i40e: use extack for bpf errors
ixgebvf: report xdp errors through extack
mlx4: report errors through extack
mlx5: report XDP errors through extack

 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c | 26 +++++++++----------
 drivers/net/ethernet/intel/i40e/i40e_main.c   | 14 +++++++---
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 25 +++++++++++++-----
 .../net/ethernet/intel/ixgbevf/ixgbevf_main.c | 11 +++++---
 .../net/ethernet/mellanox/mlx4/en_netdev.c    | 14 ++++++----
 .../net/ethernet/mellanox/mlx5/core/en_main.c | 22 +++++++++-------
 6 files changed, 71 insertions(+), 41 deletions(-)
Signature · 1 line
2.17.1