diff options
author | Haiyang Zhang <haiyangz@microsoft.com> | 2023-06-09 05:47:17 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-06-12 09:38:31 +0100 |
commit | b803d1fded4085d268507a432dac8077ead68971 (patch) | |
tree | e122dd798c166c1e24dc7259fa48320f651a4821 /net/unix/af_unix.c | |
parent | 998b85f0468f0b4784da69c087f52149ae7ded13 (diff) |
net: mana: Add support for vlan tagging
To support vlan, use MANA_LONG_PKT_FMT if vlan tag is present in TX
skb. Then extract the vlan tag from the skb struct, and save it to
tx_oob for the NIC to transmit. For vlan tags on the payload, they
are accepted by the NIC too.
For RX, extract the vlan tag from CQE and put it into skb.
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions