diff options
| author | Eugenia Emantayev <[email protected]> | 2016-04-20 13:01:17 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-04-21 19:02:40 +0000 |
| commit | 2a500090a4ea2ccd713f3c782a2fb27681bd6e67 (patch) | |
| tree | e2c01f57d97dc5f8b37d497441cfa447663e62ae /net/switchdev/switchdev.c | |
| parent | net/mlx4_core: Avoid repeated calls to pci enable/disable (diff) | |
| download | kernel-2a500090a4ea2ccd713f3c782a2fb27681bd6e67.tar.gz kernel-2a500090a4ea2ccd713f3c782a2fb27681bd6e67.zip | |
net/mlx4_core: Don't allow to VF change global pause settings
Currently changing global pause settings is done via SET_PORT
command with input modifier GENERAL. This command is allowed
for each VF since MTU setting is done via the same command.
Change the above to the following scheme: before passing the
request to the FW, the PF will check whether it was issued
by a slave. If yes, don't change global pause and warn,
otherwise change to the requested value and store for
further reference.
Signed-off-by: Eugenia Emantayev <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Signed-off-by: Or Gerlitz <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
