diff options
| author | Paul Greenwalt <[email protected]> | 2025-02-17 09:06:33 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2025-07-03 16:39:03 +0000 |
| commit | d5e3152037f32196f6c9b0eee2816af16e16e6ba (patch) | |
| tree | 8e1faf3ca2623867664583adc5333a75f6f586b5 /net/unix/af_unix.c | |
| parent | i40e: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set() (diff) | |
| download | kernel-d5e3152037f32196f6c9b0eee2816af16e16e6ba.tar.gz kernel-d5e3152037f32196f6c9b0eee2816af16e16e6ba.zip | |
ixgbe: add MDD support
Add malicious driver detection to ixgbe driver. The supported devices
are E610 and X550.
Handling MDD events is enabled while VFs are created and turned off
when they are disabled. There is no runtime command to enable or
disable MDD independently.
MDD event is logged when malicious VF driver is detected. For example VF
can try to send incorrect Tx descriptor (TSO on, but length field not
correct). It can be reproduced by manipulating the driver, or using
driver with incorrect descriptor values.
Example log:
"Malicious event on VF 0 tx:128 rx:128"
Reviewed-by: Przemek Kitszel <[email protected]>
Reviewed-by: Jedrzej Jagielski <[email protected]>
Reviewed-by: Marcin Szycik <[email protected]>
Signed-off-by: Paul Greenwalt <[email protected]>
Signed-off-by: Michal Swiatkowski <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Tested-by: Rafal Romanowski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
