diff options
author | Aniruddha Paul <aniruddha.paul@intel.com> | 2023-10-13 19:13:42 +0530 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2023-11-06 16:43:01 -0800 |
commit | 8b3c8c55ccbc02920b0ae6601c66df24f0d833bd (patch) | |
tree | 0291a224ffd70ed995b912370eb3b825fdcb5c94 /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | |
parent | e1db8c2a01d7e12bd566106fbeefa3c5cccd2003 (diff) |
ice: Fix VF-VF filter rules in switchdev mode
Any packet leaving VSI i.e VF's VSI is considered as
egress traffic by HW, thus failing to match the added
rule.
Mark the direction for redirect rules as below:
1. VF-VF - Egress
2. Uplink-VF - Ingress
3. VF-Uplink - Egress
4. Link_Partner-Uplink - Ingress
5. Link_Partner-VF - Ingress
Fixes: 0960a27bd479 ("ice: Add direction metadata")
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: Aniruddha Paul <aniruddha.paul@intel.com>
Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions