ixgbe - DDP last user buffer - error to warn
Change the error message in the last DDP user buffer to warn_once Signed-off-by: Amir Hanania <amir.hanania@intel.com> Tested-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
c5778b43df
commit
0ebafd8665
|
@ -241,10 +241,12 @@ static int ixgbe_fcoe_ddp_setup(struct net_device *netdev, u16 xid,
|
||||||
*/
|
*/
|
||||||
if (lastsize == bufflen) {
|
if (lastsize == bufflen) {
|
||||||
if (j >= IXGBE_BUFFCNT_MAX) {
|
if (j >= IXGBE_BUFFCNT_MAX) {
|
||||||
e_err(drv, "xid=%x:%d,%d,%d:addr=%llx "
|
printk_once("Will NOT use DDP since there are not "
|
||||||
"not enough user buffers. We need an extra "
|
"enough user buffers. We need an extra "
|
||||||
"buffer because lastsize is bufflen.\n",
|
"buffer because lastsize is bufflen. "
|
||||||
xid, i, j, dmacount, (u64)addr);
|
"xid=%x:%d,%d,%d:addr=%llx\n",
|
||||||
|
xid, i, j, dmacount, (u64)addr);
|
||||||
|
|
||||||
goto out_noddp_free;
|
goto out_noddp_free;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue