Message ID | 20230706081012.2278063-5-wei.fang@nxp.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 84a10947198792d038527af9c3994782ecb37c82 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net: fec: fix some issues of ndo_xdp_xmit() | expand |
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c index c59576ab8c7a..ec9e4bdb0c06 100644 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c @@ -3836,7 +3836,7 @@ static int fec_enet_txq_xmit_frame(struct fec_enet_private *fep, entries_free = fec_enet_get_free_txdesc_num(txq); if (entries_free < MAX_SKB_FRAGS + 1) { - netdev_err(fep->netdev, "NOT enough BD for SG!\n"); + netdev_err_once(fep->netdev, "NOT enough BD for SG!\n"); return -EBUSY; }