Lines Matching defs:type

203 		switch (tx_buffer->type) {
216 netdev_warn_once(tx_ring->netdev, "Unknown Tx buffer type\n");
906 * @type: MAC address filter type (source or destination)
913 enum igc_mac_filter_type type,
926 if (type == IGC_MAC_FILTER_TYPE_SRC) {
1261 /* set type for advanced descriptor with frame checksum insertion */
1630 first->type = IGC_TX_BUFFER_TYPE_SKB;
2376 head->type = IGC_TX_BUFFER_TYPE_XDP;
3008 bi->type = IGC_TX_BUFFER_TYPE_XSK;
3073 if (tx_buffer->type == IGC_TX_BUFFER_TYPE_XSK &&
3084 switch (tx_buffer->type) {
3097 netdev_warn_once(tx_ring->netdev, "Unknown Tx buffer type\n");
3217 enum igc_mac_filter_type type, const u8 *addr)
3230 if (!!(rah & IGC_RAH_ASEL_SRC_ADDR) != type)
3264 * @type: MAC address filter type (source or destination)
3273 enum igc_mac_filter_type type, const u8 *addr,
3279 index = igc_find_mac_filter(adapter, type, addr);
3287 netdev_dbg(dev, "Add MAC address filter: index %d type %s address %pM queue %d\n",
3288 index, type == IGC_MAC_FILTER_TYPE_DST ? "dst" : "src",
3292 igc_set_mac_filter_hw(adapter, index, type, addr, queue);
3299 * @type: MAC address filter type (source or destination)
3303 enum igc_mac_filter_type type, const u8 *addr)
3308 index = igc_find_mac_filter(adapter, type, addr);
3319 igc_set_mac_filter_hw(adapter, 0, type, addr, -1);
3321 netdev_dbg(dev, "Delete MAC address filter: index %d type %s address %pM\n",
3323 type == IGC_MAC_FILTER_TYPE_DST ? "dst" : "src",
3689 * -> ether type [2]
3724 /* Add Ether type */
4089 switch (hw->mac.type) {
4102 WARN_ONCE(hw->mac.type != igc_i225, "Wrong MAC type\n");
4129 switch (hw->mac.type) {
4147 } /* switch (hw->mac.type) */
4642 switch (adapter->hw.mac.type) {
5011 if (hw->mac.type >= igc_i225)
5409 event.type = PTP_CLOCK_PPS;
5448 event.type = PTP_CLOCK_EXTTS;
5457 event.type = PTP_CLOCK_EXTTS;
5635 if (hw->mac.type == igc_i225) {
6226 if (hw->mac.type != igc_i225)
6429 if (hw->mac.type != igc_i225)
6492 if (hw->mac.type != igc_i225)
6512 switch (base->type) {
6518 if (hw->mac.type == igc_i225) {
6530 static int igc_setup_tc(struct net_device *dev, enum tc_setup_type type,
6535 adapter->tc_setup_type = type;
6537 switch (type) {