diff options
author | John Hurley | 2018-03-28 18:50:06 -0700 |
---|---|---|
committer | David S. Miller | 2018-03-30 10:18:54 -0400 |
commit | 167cebeffadd45ce1e786889ab9346c15d64389b (patch) | |
tree | 23c2a23679e34361ddb03a2c694302c0af638c7a /LICENSES | |
parent | 44465c47a4a3adba98588b081e6880e9b2071fa8 (diff) |
nfp: modify app MTU setting callbacks
Rename the 'change_mtu' app callback to 'check_mtu'. This is called
whenever an MTU change is requested on a netdev. It can reject the
change but is not responsible for implementing it.
Introduce a new 'repr_change_mtu' app callback that is hit when the MTU
of a repr is to be changed. This is responsible for performing the MTU
change and verifying it.
Signed-off-by: John Hurley <john.hurley@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions