Home
last modified time | relevance | path

Searched refs:VLAN (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_xdp_vlan.sh14 echo "Testing XDP + TC eBPF VLAN manipulations: $TESTNAME"
157 # NOTICE: XDP require VLAN header inside packet payload
158 # - Thus, disable VLAN offloading driver features
159 # - For veth REMEMBER TX side VLAN-offload
176 # In ns2/veth2 create VLAN device
177 export VLAN=4011
179 ip netns exec ns2 ip link add link $DEVNS2 name $DEVNS2.$VLAN type vlan id $VLAN
180 ip netns exec ns2 ip addr add ${IPADDR2}/24 dev $DEVNS2.$VLAN
182 ip netns exec ns2 ip link set $DEVNS2.$VLAN u
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtest_xdp_vlan.sh19 echo "Testing XDP + TC eBPF VLAN manipulations: $TESTNAME"
162 # NOTICE: XDP require VLAN header inside packet payload
163 # - Thus, disable VLAN offloading driver features
164 # - For veth REMEMBER TX side VLAN-offload
181 # In ns2/veth2 create VLAN device
182 export VLAN=4011
184 ip netns exec ${NS2} ip link add link $DEVNS2 name $DEVNS2.$VLAN type vlan id $VLAN
185 ip netns exec ${NS2} ip addr add ${IPADDR2}/24 dev $DEVNS2.$VLAN
187 ip netns exec ${NS2} ip link set $DEVNS2.$VLAN u
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dbpf_flow.c35 #define VLAN 5 macro
132 bpf_tail_call_static(skb, &jmp_table, VLAN); in parse_eth_proto()
388 PROG(VLAN)(struct __sk_buff *skb) in VLAN() function
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dbpf_flow.c36 #define VLAN 5 macro
133 bpf_tail_call_static(skb, &jmp_table, VLAN); in parse_eth_proto()
404 PROG(VLAN)(struct __sk_buff *skb) in VLAN() function
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_wqe.h246 RQ_CQE_SGE_GET(vlan_len, VLAN)
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_wqe.h246 RQ_CQE_SGE_GET(vlan_len, VLAN)
/kernel/linux/linux-5.10/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c856 BE_WRB_F_SET(wrb_params->features, VLAN, 1); in be_get_wrb_params_from_skb()
885 /* Hack to skip HW VLAN tagging needs evt = 1, compl = 0. When this in wrb_fill_hdr()
891 BE_WRB_F_GET(wrb_params->features, VLAN)); in wrb_fill_hdr()
1065 * skip VLAN insertion in be_insert_vlan_in_pkt()
1078 /* Insert the outer VLAN, if any */ in be_insert_vlan_in_pkt()
1133 * incorrecly when VLAN tag is inserted by HW. in be_lancer_xmit_workarounds()
1146 /* If vlan tag is already inlined in the packet, skip HW VLAN in be_lancer_xmit_workarounds()
1153 /* HW has a bug wherein it will calculate CSUM for VLAN in be_lancer_xmit_workarounds()
1155 * Manually insert VLAN in pkt. in be_lancer_xmit_workarounds()
1164 /* HW may lockup when VLAN H in be_lancer_xmit_workarounds()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c855 BE_WRB_F_SET(wrb_params->features, VLAN, 1); in be_get_wrb_params_from_skb()
884 /* Hack to skip HW VLAN tagging needs evt = 1, compl = 0. When this in wrb_fill_hdr()
890 BE_WRB_F_GET(wrb_params->features, VLAN)); in wrb_fill_hdr()
1064 * skip VLAN insertion in be_insert_vlan_in_pkt()
1077 /* Insert the outer VLAN, if any */ in be_insert_vlan_in_pkt()
1132 * incorrecly when VLAN tag is inserted by HW. in be_lancer_xmit_workarounds()
1145 /* If vlan tag is already inlined in the packet, skip HW VLAN in be_lancer_xmit_workarounds()
1152 /* HW has a bug wherein it will calculate CSUM for VLAN in be_lancer_xmit_workarounds()
1154 * Manually insert VLAN in pkt. in be_lancer_xmit_workarounds()
1163 /* HW may lockup when VLAN H in be_lancer_xmit_workarounds()
[all...]

Completed in 13 milliseconds