Commit 04efb36
i40e: Set RX_ONLY mode for unicast promiscuous on VLAN
[ Upstream commit 4bd5e02 ]
Trusted VF with unicast promiscuous mode set, could listen to TX
traffic of other VFs.
Set unicast promiscuous mode to RX traffic, if VSI has port VLAN
configured. Rename misleading I40E_AQC_SET_VSI_PROMISC_TX bit to
I40E_AQC_SET_VSI_PROMISC_RX_ONLY. Aligned unicast promiscuous with
VLAN to the one without VLAN.
Fixes: 6c41a76 ("i40e: Add promiscuous on VLAN support")
Fixes: 3b12008 ("i40e: When in promisc mode apply promisc mode to Tx Traffic as well")
Signed-off-by: Przemyslaw Patynowski <przemyslawx.patynowski@intel.com>
Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent b9d4cab commit 04efb36
2 files changed
Lines changed: 28 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1206 | 1206 | | |
1207 | 1207 | | |
1208 | 1208 | | |
1209 | | - | |
| 1209 | + | |
1210 | 1210 | | |
1211 | 1211 | | |
1212 | 1212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1970 | 1970 | | |
1971 | 1971 | | |
1972 | 1972 | | |
| 1973 | + | |
| 1974 | + | |
| 1975 | + | |
| 1976 | + | |
| 1977 | + | |
| 1978 | + | |
| 1979 | + | |
| 1980 | + | |
| 1981 | + | |
| 1982 | + | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
| 1987 | + | |
1973 | 1988 | | |
1974 | 1989 | | |
1975 | 1990 | | |
| |||
2095 | 2110 | | |
2096 | 2111 | | |
2097 | 2112 | | |
2098 | | - | |
2099 | | - | |
2100 | | - | |
2101 | | - | |
| 2113 | + | |
| 2114 | + | |
2102 | 2115 | | |
2103 | 2116 | | |
2104 | 2117 | | |
2105 | 2118 | | |
2106 | 2119 | | |
2107 | | - | |
2108 | | - | |
2109 | | - | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
2110 | 2123 | | |
2111 | 2124 | | |
2112 | 2125 | | |
| |||
2203 | 2216 | | |
2204 | 2217 | | |
2205 | 2218 | | |
2206 | | - | |
| 2219 | + | |
2207 | 2220 | | |
| 2221 | + | |
| 2222 | + | |
| 2223 | + | |
2208 | 2224 | | |
2209 | 2225 | | |
2210 | 2226 | | |
| 2227 | + | |
| 2228 | + | |
| 2229 | + | |
2211 | 2230 | | |
2212 | 2231 | | |
2213 | 2232 | | |
| |||
0 commit comments