]> asedeno.scripts.mit.edu Git - linux.git/commit
enetc: Allow to disable Tx SG
authorClaudiu Manoil <claudiu.manoil@nxp.com>
Wed, 15 May 2019 16:08:57 +0000 (19:08 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 May 2019 16:14:29 +0000 (09:14 -0700)
commit5d91eebc5d9cf898fa8751ef3a13e76f19f6f539
treea07b8cb76b853d5bd76dc97e262a9c5373840387
parentf4a0be84d73ec648628bf8094600ceb73cb6073f
enetc: Allow to disable Tx SG

The fact that the Tx SG flag is fixed to 'on' is only
an oversight. Non-SG mode is also supported. Fix this
by allowing to turn SG off.

Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc_pf.c
drivers/net/ethernet/freescale/enetc/enetc_vf.c